Precompiled Header support for GCC-3.4

Daniel Jacobowitz drow@false.org
Fri Sep 10 15:34:00 GMT 2004


On Fri, Sep 10, 2004 at 10:25:27AM +0530, Prasad Kulkarni wrote:
> Currently I am using following compiler flags for compilation.
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -include ../PCH/cppunitincludes.h 
> -I../STL/stlport     -g -O2 -D_REENTRANT -DSLEXT='".so"' -DREDHAT9
> -I/opt/sfw/include -D_DEBUG -Wall -DLINUX -fPIC -DPIC  -c -o
> TestCase.o

You may want to try -Winvalid-pch.

-- 
Daniel Jacobowitz



More information about the Gcc mailing list