<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 <hennebry@web.cs.ndsu.nodak.edu></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
</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 <coin-discuss@list.coin-or.org></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>
> CoinAssert can obviously be used by anyone. COIN_ASSERT may
be made<br>
> default if optimized but it may not work with all compilers and someone<br>
> may be able to improve my #defines to give more information e.g. I
don't<br>
> know how to get function name while normal assert does.<br>
<br>
>From /usr/include/assert.h:<br>
<br>
/* Version 2.4 and later of GCC define a magical variable `__PRETTY_FUNCTION__'<br>
which contains the name of the function currently being defined.<br>
This is broken in G++ before version 2.6.<br>
C9x has a similar variable called __func__, but prefer the GCC
one since<br>
it demangles C++ function names. */<br>
<br>
-- <br>
Mike hennebry@web.cs.ndsu.NoDak.edu<br>
"Our gods are dead. Ancient Klingon warriors slew them<br>
... they were more trouble than they were worth."
-- 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>