[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Wed Jan 20 12:34:25 2016 New Revision: 232607 URL: https://gcc.gnu.org/viewcvs?rev=232607&root=gcc&view=rev Log: Ensure C++ language linkage in cmath and cstdlib PR libstdc++/69

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread ismail at i10z dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 --- Comment #4 from İsmail Dönmez --- (In reply to Jonathan Wakely from comment #3) > Created attachment 37407 [details] > Set language linkage for C++ headers > > Does this fix it? Yes it does. Thanks!

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 --- Comment #3 from Jonathan Wakely --- Created attachment 37407 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37407&action=edit Set language linkage for C++ headers Does this fix it?

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 --- Comment #2 from Jonathan Wakely --- OK I see the problem, this is a MinGW-w64 bug, but I can solve it in libstdc++. windows.h includes windef.h which includes minwindef.h which does: #ifdef __cplusplus extern "C" { #endif ... #include and

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 --- Comment #1 from Jonathan Wakely --- Hmm, those functions should not be extern "C". Could you please re-run that compile command for eh_arm.cc with -save-temps and send me the preprocessed source? I'll start looking through the mingw-w64 head

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/69386] [6 regression] r232586 breaks mingw-w64 bootstrap

2016-01-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386 Richard Biener changed: What|Removed |Added Keywords||build Target|