[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [Bug-Wget] Configure flag to disable assert
From: |
Dagobert Michelsen |
Subject: |
Re: [Bug-wget] [Bug-Wget] Configure flag to disable assert |
Date: |
Fri, 14 Nov 2014 20:35:01 +0100 |
Hi Darshit,
> Am 14.11.2014 um 20:01 schrieb Darshit Shah <address@hidden>:
>
> Assertions are good programming practice. However, as the recent assert I
> added shows us, they should not exist on the client side installations of our
> software. Assertions are meant for development use only.
>
> Hence, I've added a new configure option, --disable-assert which will
> eliminate all assertions from the codebase before compilation.
Is this necessary? I mean if you add -DNDEBUG to CPPFLAGS asserts are already
not
compiled in.
Best regards
— Dago
--
"You don't become great by trying to be great, you become great by wanting to
do something,
and then doing it so hard that you become great in the process." - xkcd #896
smime.p7s
Description: S/MIME cryptographic signature