https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
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!
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?
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69386
Richard Biener changed:
What|Removed |Added
Keywords||build
Target|