[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2017-08-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45599 Eric Gallager changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2017-08-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45599 --- Comment #6 from Jonathan Wakely --- I'd just go for RESOLVED INVALID. We don't want to remove the code that implements a supported feature.

[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2017-07-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45599 Eric Gallager changed: What|Removed |Added Status|WAITING |SUSPENDED CC|

[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2010-09-08 Thread tom dot browder at gmail dot com
--- Comment #4 from tom dot browder at gmail dot com 2010-09-08 15:29 --- Oops, I missed that PR. I still think that an optional warning should be there--something like "-Wpragma-once" with a message about the better practice. (Sorry I missed finding the original bug--I only looked at

[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-08 15:04 --- At one point we deprecated it and then undeprecated it. See PR 11569. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45599

[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2010-09-08 Thread tom dot browder at gmail dot com
--- 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.cg

[Bug preprocessor/45599] Remove all code applying to obsolete "#pragma once"

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-09-08 14:46 --- >#pragma once Can you explain why you think it can be completely ignored? It can be used without macro guards. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added