bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Compiler warnings; minor thread.h patch


From: Federico Montesino Pouzols
Subject: Re: Compiler warnings; minor thread.h patch
Date: Mon, 30 Dec 2002 22:19:43 +0100
User-agent: Mutt/1.4i

        I agree, I also prefer this solution.

On Mon, Dec 30, 2002 at 06:11:36PM +0200, Albert Strasheim wrote:
> Instead of an AM_CONDITIONAL, might I suggest something like the 
> following:
> 
> if test $GCC = xyes; then
>       WARN_FLAGS = -Wall -ansi -pedantic
> else
>       WARN_FLAGS =
> fi
> AC_SUBST(WARN_FLAGS)
> 
> Then update the CFLAGS and CXXFLAGS in the various Makefile.am files and 
> just add $(WARN_FLAGS).
> 
> Cheers,
> 
> Albert
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



reply via email to

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