[Bug preprocessor/52566] #include in c++ namespace scope doesn't work properly

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52566 --- Comment #3 from Jonathan Wakely 2012-03-14 10:46:54 UTC --- If you want to use #pragma once the simplest solution might be to put a unique comment in each file, with e.g. just the filename, or a description of its purpose

[Bug preprocessor/52566] #include in c++ namespace scope doesn't work properly

2012-03-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52566 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 f

[Bug preprocessor/52566] #include in c++ namespace scope doesn't work properly

2012-03-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52566 --- Comment #1 from Jonathan Wakely 2012-03-12 16:30:32 UTC --- this has nothing to do with namespace scope, it's #pragma once confusing two separate files as one