deleting -DNDEBUG added by cmake PG

Kurt Hindenburg khindenburg at macports.org
Mon Dec 20 03:31:48 UTC 2021


I think my original email didn’t get sent.  

Kurt

> On Dec 18, 2021, at 9:52 AM, Kurt Hindenburg <khindenburg at macports.org> wrote:
> 
> The new version of ipbt imported a lot of code from putty and is now cmake based.  Currently the build fails with the below.
> 
> ipbt-20211203.104f822/defs.h:22:2: error: Do not compile this code base with NDEBUG defined!                                                          
> #error Do not compile this code base with NDEBUG defined!
> 
>   Kurt
> 
>> On Dec 18, 2021, at 9:42 AM, Joshua Root <jmr at macports.org <mailto:jmr at macports.org>> wrote:
>> 
>> On 2021-12-19 01:17 , Chris Jones wrote:
>>> Hi
>>>> On 17 Dec 2021, at 12:14 am, Kurt Hindenburg <khindenburg at macports.org <mailto:khindenburg at macports.org>> wrote:
>>>> 
>>>> Hello,
>>>>   The cmake PG adds -DNDEBUG to various flags. For the next release of ipbt I need to remove it. 
>>> Just curious but why ? Its usual to specify these flags in production releases builds, which by default is what macports provides.
>>>>  The normal configure.*-delete do not seem to work.
>>>> Does anyone have suggestions on how to do this?
>>>> 
>>>> configure.cflags-append     -DNDEBUG
>>>> configure.cxxflags-append   -DNDEBUG
>> 
>> Well the opposite of -D is -U, but as Chris implied, it would be helpful to know the details of the problem you are trying to solve.
>> 
>> - Josh
>> 
>> (BTW, please replace the old macosforge.org <http://macosforge.org/> list address with the current macports.org <http://macports.org/> version in your address book.)
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20211219/46133005/attachment.htm>


More information about the macports-dev mailing list