This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"
- From: "tom dot browder at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2010 15:02:17 -0000
- Subject: [Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"
- References: <bug-45599-15412@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tom dot browder at gmail dot com 2010-09-08 15:02 -------
Ah, you are correct--old code may have that only. How about a warning instead
about using the recommended construct (the header guard) instead of the "pragma
once"?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45599