This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/52566] #include in c++ namespace scope doesn't work properly
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Mar 2012 10:46:54 +0000
- Subject: [Bug preprocessor/52566] #include in c++ namespace scope doesn't work properly
- Auto-submitted: auto-generated
- References: <bug-52566-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52566
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 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