ligcc fails to compile a precompiled header
creates the precompiled header myheader.h.gch, while
That is because the "foreach" sub in GCC.pm decides that .h files are not files that need to be compiled.
As a workaround, I removed the ".h" from
our $headerTypes = 'h|hpp';
A real fix would probably have to use some more fine-grained magic to decide wether a .h file is the target of the compilation or if it is 'just' a parameter to a different compilation. A simple approach would say that a header file is to be compiled if no source file is present. However, this would not cover the case when somebody tries to create a precompiled header and supplies additional headers with the -include switch.
(tested with listaller-