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

Edgardo Fuchs edgardo_fuchs at mi.cl
Thu Jul 21 00:16:45 EDT 2005


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compilation report_2.txt
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20050721/4eb89e56/attachment.txt>


More information about the Coin-discuss mailing list