deleting -DNDEBUG added by cmake PG

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

I think my original email didn’t get sent.  


> On Dec 18, 2021, at 9:52 AM, Kurt Hindenburg <khindenburg at> 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 <mailto:jmr at>> wrote:
>> On 2021-12-19 01:17 , Chris Jones wrote:
>>> Hi
>>>> On 17 Dec 2021, at 12:14 am, Kurt Hindenburg <khindenburg at <mailto:khindenburg at>> 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 <> list address with the current <> version in your address book.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list