bug-gnulib
[Top][All Lists]
Advanced

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

Re: warnings.m4: check the compiler, not the preprocessor.


From: Bruno Haible
Subject: Re: warnings.m4: check the compiler, not the preprocessor.
Date: Fri, 30 Mar 2012 03:26:40 +0200
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Akim Demaille wrote:
> Currently the macro does
> not depend on the language to store its result

This patch appears broken to me:
  - On one hand it augments CPPFLAGS without ever setting it back.
  - On the other hand it saves and restores CFLAGS or CXXFLAGS but
    without temporarily modifying its value.

Can you please provide a fix? Gnulib macros should in general *not*
have lasting effects on $CPPFLAGS, $CFLAGS, $CXXFLAGS.

Bruno




reply via email to

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