[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #13 from Jonathan Wakely --- The C standard has equivalent wording in 7.1.2: If a file with the same name as one of the above < and > delimited sequences, not provided as part of the implementation, is placed in any of the standard p

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #12 from Jonathan Wakely --- (In reply to Nadav Har'El from comment #10) > There is nothing "holy" about glibc, and nothing "broken" about wanting to > replace it (or, as Firefox did, only a part of it). Sure, the replacement > needs

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-20 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #11 from Nadav Har'El --- By the way, I think I made a mistake in my comment and -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS is not actually needed. The thing is that header files like have: #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS #include_ne

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-20 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #10 from Nadav Har'El --- There is nothing "holy" about glibc, and nothing "broken" about wanting to replace it (or, as Firefox did, only a part of it). Sure, the replacement needs to be 100% compatible with glibc, and if it isn't, th

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #9 from Andrew Pinski --- (In reply to Nadav Har'El from comment #8) > This issue was closed as supposedly it only affects Firefox's build. It > definitely does not - it affects any project which attempts to replace the C > header fil

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-20 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 Nadav Har'El changed: What|Removed |Added CC||nyh at math dot technion.ac.il --- Commen

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-05-13 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #7 from Vittorio Zecca --- Yes, this fixed my problem with mozilla firefox compilation, Thank you!

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-05-12 Thread guido at trentalancia dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #6 from guido at trentalancia dot net --- Reported as a RESOLVED FIXED bug in firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1245076

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-05-12 Thread guido at trentalancia dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 guido at trentalancia dot net changed: What|Removed |Added CC||guido at trentalancia dot

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-04-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 Markus Trippelsdorf changed: What|Removed |Added CC||zeccav at gmail dot com --- Commen

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-04-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #3 from Jonathan Wakely --- As discussed when I introduced #include_next into , if Firefox wants to play games redefining system headers (which is explicitly undefined behaviour according to the C++ standard) then it is Firefox's prob

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-04-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-04-18 Thread martin.thomson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #1 from Martin Thomson --- My ViewCVS-fu isn't that good, it took me long enough to find this: https://gcc.gnu.org/viewcvs/gcc/trunk/libstdc%2B%2B-v3/include/c_global/cmath?r1=232585&r2=232586&;