bug-guile
[Top][All Lists]
Advanced

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

Re: GUILE_CFLAGS contains warning options


From: Bruno Haible
Subject: Re: GUILE_CFLAGS contains warning options
Date: Wed, 23 Feb 2011 11:28:52 +0100
User-agent: KMail/1.9.9

Ludovic Courtès wrote:
> I only ever use CPPFLAGS for -I flags and can’t think of other likely
> uses.

If someone wants to disable assert()s, he uses the option -DNDEBUG, and
according to the autoconf manual [1]
   "If a compiler option affects only the behavior of the preprocessor
    (e.g., -Dname), it should be put into CPPFLAGS"
this option belongs in CPPFLAGS.

But just because guile has been built with assertions turned off, doesn't
mean that every program that uses guile wants to disable assertions. So
this is a second reason to put only -I options from $CPPFLAGS into
guile-2.0.pc.

Bruno

[1] 
http://www.gnu.org/software/autoconf/manual/html_node/Preset-Output-Variables.html
-- 
In memoriam Henri Salmide <http://en.wikipedia.org/wiki/Henri_Salmide>



reply via email to

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