http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57220
Bug #: 57220 Summary: [mingw] Undefined reference to __mingw_strtod Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: daniel.krueg...@googlemail.com Created attachment 30063 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30063 Output of -v -save-temps invokation The following code when compiled with gcc 4.9.0 20130505 (experimental) using mingw 64 bit using the compiler flags -Wall (with or without -std=c++11 or -pedantic-errors) causes a linker error: //-------------------------------------- #include <iostream> int main() {} //-------------------------------------- "c:\program files\develop\gcc\bin\..\lib\gcc\x86_64-w64-mingw32\4.9.0\..\..\..\..\lib\libstdc++.a(c++locale.o)||In function `strtod':| \home\gfortran\gcc-home\binary\mingw32\native\x86_64\gcc\4.9-20130505\x86_64-w64-mingw32\include\stdlib.h|392|undefined reference to `__mingw_strtod'"