[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler warnings; minor thread.h patch
From: |
Albert Strasheim |
Subject: |
Re: Compiler warnings; minor thread.h patch |
Date: |
Mon, 30 Dec 2002 18:11:36 +0200 |
User-agent: |
Mutt/1.4i |
Hello,
On Mon, 30 Dec 2002, Federico Montesino Pouzols wrote:
> Ok, the patch has been just committed to CVS. I have added an
> AM_CONDITIONAL so that these compiling options are only used when
> compiling with GCC.
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
- Compiler warnings; minor thread.h patch, Albert Strasheim, 2002/12/29
- Re: Compiler warnings; minor thread.h patch, Federico Montesino Pouzols, 2002/12/29
- Re: Compiler warnings; minor thread.h patch, David Sugar, 2002/12/29
- Re: Compiler warnings; minor thread.h patch, Albert Strasheim, 2002/12/29
- Re: Compiler warnings; minor thread.h patch, Albert Strasheim, 2002/12/30
- Re: Compiler warnings; minor thread.h patch, Federico Montesino Pouzols, 2002/12/30
- Re: Compiler warnings; minor thread.h patch, David Sugar, 2002/12/30
- Re: Compiler warnings; minor thread.h patch,
Albert Strasheim <=
- Re: Compiler warnings; minor thread.h patch, Federico Montesino Pouzols, 2002/12/30