[Bug libstdc++/57691] freestanding libstdc++ has compile error

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 Bug 57691 depends on bug 57699, which changed state. Bug 57699 Summary: Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57699 What

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #11 from Jonathan Wakely --- Yes, that will fix it right now. In the longer term it would be nice to get a FE change.

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 Paolo Carlini changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #10 f

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #9 from Bernd Edlinger --- (In reply to Jonathan Wakely from comment #7) > (In reply to Paolo Carlini from comment #4) > > ... by the way, I'm *very* surprised that nobody noticed this over the > > years: the freestanding atexit is dec

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #8 from Paolo Carlini --- Of course. Since, AFAIK, we already had the sensible () with no void in like 2005, communities outside GCC must have workarounds in place, can wait a bit more. Let's mark the C++ front-end issue as blocking th

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #7 from Jonathan Wakely --- (In reply to Paolo Carlini from comment #4) > ... by the way, I'm *very* surprised that nobody noticed this over the > years: the freestanding atexit is declared like this in in 4.0.0!?! It only matters on

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #6 from Jonathan Wakely --- I've opened PR 57699 -- it would be nice not to have to write (void) in our headers.

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 Paolo Carlini changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5 f

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #4 from Paolo Carlini --- ... by the way, I'm *very* surprised that nobody noticed this over the years: the freestanding atexit is declared like this in in 4.0.0!?!

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #3 from Paolo Carlini --- Yes it is, a huge abomination, I had no idea we had something like that. Then, I don't know, I don't think it's going away any time soon, probably we should bite the bullet and add those with a big comment fo

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #2 from Jonathan Wakely --- I think this is due to a horrible hack in the front end which adds implicit extern "C" blocks around system headers, and a side-effect is that function prototypes of the form 'T f()' are treated as 'T f(...)

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2013-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 --- Comment #1 from Paolo Carlini --- This doesn't make any sense to me.