[Coin-discuss] Re: Re: Re: NDEBUG & COIN_ASSERT (Edgardo Fuchs) (John J Forrest) (Edgardo Fuchs)

Edgardo Fuchs edgardo_fuchs at mi.cl
Mon Jul 25 23:15:23 EDT 2005


John,

July 25th version cleanly compiles using NDEBUG and COIN_ASSERT options 
under Cygwin g++ and VC++ Toolkit 2003.
I tested Coin, Clp, Osi and OsiClp.
Thanks.

Regards,
Edgardo Fuchs


coin-discuss-request at list.coin-or.org wrote:

>Send Coin-discuss mailing list submissions to
>	coin-discuss at list.coin-or.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://list.coin-or.org/mailman/listinfo/coin-discuss
>or, via email, send a message with subject or body 'help' to
>	coin-discuss-request at list.coin-or.org
>
>You can reach the person managing the list at
>	coin-discuss-owner at list.coin-or.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Coin-discuss digest..."
>
>
>Today's Topics:
>
>   1. Re: Re: NDEBUG & COIN_ASSERT (Edgardo Fuchs) (John J Forrest)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Sat, 23 Jul 2005 21:04:05 -0400
>From: John J Forrest <jjforre at us.ibm.com>
>Subject: Re: [Coin-discuss] Re: NDEBUG & COIN_ASSERT (Edgardo Fuchs)
>Cc: coin-discuss at list.coin-or.org
>Message-ID:
>	<OF953AB646.5A1D3A97-ON85257048.0005B806-85257048.0005DF06 at us.ibm.com>
>Content-Type: text/plain; charset="us-ascii"
>
>Edgardo,
>
>I have setup cygwin on my machine and tested.  It now compiles for me. 
>What still breaks?
>
>John Forrest
>
>
>
>Edgardo Fuchs <edgardo_fuchs at mi.cl> 
>Sent by: coin-discuss-bounces at list.coin-or.org
>07/21/2005 12:16 AM
>Please respond to
>edgardo_fuchs and Discussions about open source software for Operations 
>Research 
>
>
>To
>coin-discuss at list.coin-or.org
>cc
>
>Subject
>[Coin-discuss] Re: NDEBUG & COIN_ASSERT (Edgardo Fuchs)
>
>
>
>
>
>
>John,
>
>I compiled July 20th version of Coin, Clp, Osi and OsiClp, with gcc 
>under Cygwin and Visual C++ Toolkit 2003.
>
>Under Cygwin, Coin and Osi compile cleanly. Clp and OsiClp result in 
>error messages of undeclared functions.
>Without COIN_ASSERT option, all of them compile cleanly.
>
>The results are the same with VC++ Toolkit.
>
>I have included a text file with the compilers messages.
>
>Regards,
>Edgardo Fuchs
>
>
>coin-discuss-request at list.coin-or.org wrote:
>
>  
>
>>Send Coin-discuss mailing list submissions to
>>               coin-discuss at list.coin-or.org
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>               http://list.coin-or.org/mailman/listinfo/coin-discuss
>>or, via email, send a message with subject or body 'help' to
>>               coin-discuss-request at list.coin-or.org
>>
>>You can reach the person managing the list at
>>               coin-discuss-owner at list.coin-or.org
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of Coin-discuss digest..."
>>
>>
>>Today's Topics:
>>
>>  1. Re: NDEBUG & COIN_ASSERT (John J Forrest)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Thu, 14 Jul 2005 14:29:59 -0400
>>From: John J Forrest <jjforre at us.ibm.com>
>>Subject: Re: [Coin-discuss] NDEBUG & COIN_ASSERT
>>To: <coin-discuss at list.coin-or.org>
>>Message-ID:
>><OFAC4C7CD6.6157BC19-ON8525703E.00655341-8525703E.00659F8D at us.ibm.com>
>>Content-Type: text/plain; charset="us-ascii"
>>
>>Edgardo,
>>
>>I have moved an #endif in CoinError.hpp - does that help?  (No errors on 
>>my gcc but I can see that VC might get confused if it saw 
>>
>>       #if (__GNUC_PREREQ (2,6))
>>
>>I have tidied code to get rid of some unused variable warnings with 
>>-NDEBUG
>>
>>Uninitialized warnings seem to be compiler mistake.
>>
>>John Forrest
>>
>>
>>
>>Edgardo Fuchs <edgardo_fuchs at mi.cl> 
>>Sent by: coin-discuss-bounces at list.coin-or.org
>>07/12/2005 10:42 PM
>>Please respond to
>>edgardo_fuchs and Discussions about open source software for Operations 
>>Research 
>>
>>
>>To
>>COIN <coin-discuss at list.coin-or.org>
>>cc
>>
>>Subject
>>[Coin-discuss] NDEBUG & COIN_ASSERT
>>
>>
>>
>>
>>
>>
>>Dear COIN list,
>>
>>I compiled Coin, Clp, Osi and OsiClp, with both gcc and VC Toolkit.
>>
>>Both of them produce errors with NDEBUG & COIN_ASSERT options.
>>gcc produces a warning message with only NDEBUG option.
>>VC Toolkit compiles without messages using only NDEBUG option.
>>
>>I included a text file with the compilation messages.
>>
>>Regards,
>>Edgardo Fuchs
>>
>>
>>
>>    
>>
>
>  
>

-- 

Edgardo Fuchs

Santiago, Chile

Tel: +56 (2) 435 0090
Cel: +56 9837 8433




More information about the Coin-discuss mailing list