http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52566
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-12 17:09:37 UTC --- You either should have different content of the two headers, or don't use #pragma once, or you need to have different timestamps. In order to support symlinks/hardlinks and also lame filesystems that lack them, the preprocessor only looks at file sizes/timestamps and content if there are multiple #pragma once (or #import) headers.