Even if the compile fails, the gch is produced!

mdup...@introspector-desktop:~/2010/01/extern/mapnik/include/mapnik$ make
datasource_cache.hpp.gch
g++   -x c++-header -I ../.. -I .. -I   -Winvalid-pch     -pg \
        -DMAPNIK_DEBUG \
        -I/usr/include/libpng12   \
        -I/usr/include/freetype2   -DHAVE_CONFIG_H  \
        -I/home/mdupont/2010/01/mapnik/mapnik/agg/include \
        -I/usr/local/include  \
        -I/usr/include/libxml2   \
        -D_REENTRANT -I/usr/include/cairomm-1.0 -I/usr/include/cairo
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -c
datasource_cache.hpp 
In file included from datasource_cache.hpp:31:0:
../mapnik/plugin.hpp:44:42: error: ‘Plugin’ has not been declared
make: *** [datasource_cache.hpp.gch] Error 1


mdup...@introspector-desktop:~/2010/01/extern/mapnik/include/mapnik$ make
datasource_cache.hpp.gch
make: `datasource_cache.hpp.gch' is up to date.


-- 
           Summary: If the compile fails, the gch is still produced.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: JamesMikeDuPont at googlemail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42765

Reply via email to