[Top][All Lists]

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

Re: FYI: preproc vs. compiler in CHECK_HEADER

From: Paolo Bonzini
Subject: Re: FYI: preproc vs. compiler in CHECK_HEADER
Date: Mon, 24 Feb 2003 11:53:03 +0100
User-agent: KMail/1.4.2

> AC_MSG_WARN([$1: accepted by the compiler, rejected by the preprocessor!])
> AC_MSG_WARN([$1: proceeding with the compiler's result])

I'd add another...

AC_MSG_WARN([$1: did you put any options to CFLAGS that belong in CPPFLAGS?])

In particular, this bit me recently when I gave -mno-cygwin option to CFLAGS 
instead of CPPFLAGS, so the preprocessor saw the Cygwin header files and the 
compiler saw the Mingw32 set of headers.

Paolo Bonzini

reply via email to

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