[Bug libstdc++/79789] [6/7 Regression] non-reserved names in headers

2017-03-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Thu Mar 2 03:43:49 2017 New Revision: 245828 URL: https://gcc.gnu.org/viewcvs?rev=245828=gcc=rev Log: PR libstdc++/79789 fix non-reserved names in headers PR libstdc++/79789

[Bug libstdc++/79789] [6/7 Regression] non-reserved names in headers

2017-03-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 --- Comment #2 from Jonathan Wakely --- And this fails since 5.1.0 with C++11 or later: #define e 1 #include And this fails for all versions at least as far back as 4.3 (although it's only valid in C++98 and C++03 because C++11 adds member

[Bug libstdc++/79789] [6/7 Regression] non-reserved names in headers

2017-03-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 Jonathan Wakely changed: What|Removed |Added Known to work|6.3.0 |5.4.0 Summary|[7