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

--- Comment #3 from Olaf van der Spek <olafvdspek at gmail dot com> 2011-02-21 
09:37:03 UTC ---
g++ -o b.h.gch a.h 
g++ c.cpp 

a.h:
#pragma once // a.h:1:9: warning: #pragma once in main file

c.cpp:
#include "b.h"
#include "b.h" // c.cpp:2:15: error: b.h: No such file or directory

int main()
{
}

Reply via email to