<br><font size=2 face="sans-serif">Michael,</font>
<br>
<br><font size=2 face="sans-serif">Thanks - I have added that (for gcc
anyway)</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Michael Hennebry &lt;hennebry@web.cs.ndsu.nodak.edu&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">03/14/2005 10:57 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Discussions about open source software for Operations Research &nbsp; &nbsp;
&nbsp; &nbsp;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">Discussions about open source
software for Operations Research &lt;coin-discuss@list.coin-or.org&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Coin-discuss] CoinAssert</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Mon, 14 Mar 2005, John J Forrest wrote:<br>
<br>
&gt; CoinAssert can obviously be used by anyone. &nbsp;COIN_ASSERT may
be made<br>
&gt; default if optimized but it may not work with all compilers and someone<br>
&gt; may be able to improve my #defines to give more information e.g. I
don't<br>
&gt; know how to get function name while normal assert does.<br>
<br>
&gt;From /usr/include/assert.h:<br>
<br>
/* Version 2.4 and later of GCC define a magical variable `__PRETTY_FUNCTION__'<br>
 &nbsp; which contains the name of the function currently being defined.<br>
 &nbsp; This is broken in G++ before version 2.6.<br>
 &nbsp; C9x has a similar variable called __func__, but prefer the GCC
one since<br>
 &nbsp; it demangles C++ function names. &nbsp;*/<br>
<br>
-- <br>
Mike &nbsp; hennebry@web.cs.ndsu.NoDak.edu<br>
&quot;Our gods are dead. &nbsp;Ancient Klingon warriors slew them<br>
... they were more trouble than they were worth.&quot; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;-- &nbsp;Worf<br>
<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</tt></font>
<br>