I have two headers world.h
worldw.h
.
world.h
void h_world();
worldw.h
void g_world();
After precompilation with gcc world.h
and gcc worldw.h
I have world.h.gch
and worldw.h.gch
. Futher I'm adding this precompiled headers to main.c
:
#include "world.h.gch"
#include "worldw.h.gch"
....
But when I'm compiling this I have more than thousand errors. I'm expected that it's ok, because precompiled header is just reduce a compile time.