[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Bug-Wget] Configure flag to disable assert

From: Tony Lewis
Subject: Re: [Bug-wget] [Bug-Wget] Configure flag to disable assert
Date: Wed, 19 Nov 2014 12:07:55 -0800

Darshit Shah wrote:

> On the other hand, providing this configure option and making a note in the 
> section, I am hoping that more maintainers will use the --disable-assert flag 
> and
> remove assertions from the compiled code.

Would it make more sense to have an --enable-assert flag to be used by the 
developers? For that matter, shouldn't there be an easy way to compile 
production and debug versions of the code? 

I recommend making the developers do the extra work rather than making the 
users or distributers do it. In other words, by default configure should not 
include any code that is only intended to be used by developers.

It seems to me there are three types of code to consider:
  - debugging code only meant to be used by the developers
  - output generated by --debug to allow end users to report problems to the 
  - everything else


reply via email to

[Prev in Thread] Current Thread [Next in Thread]