This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/38919] math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h



------- Comment #3 from pluto at agmk dot net  2009-01-20 08:22 -------
(In reply to comment #2)

> However, if this is a cross compile,

yes, this is a cross compiler: build/host=linux, target=mingw.

> then crossconfig.m4 is wrong:
> 
>   *-mingw32*)
>     AC_DEFINE(HAVE_STRTOF)
>     AC_DEFINE(HAVE_STRTOLD)
>     GLIBCXX_CHECK_LINKER_FEATURES
>     ;;
> 
> would have to be something like:
> 
>   *-mingw32*)
>     AC_DEFINE(HAVE_STRTOF)
>     AC_DEFINE(HAVE_STRTOLD)
>     AC_DEFINE(HAVE_MODFL)
>     AC_DEFINE(HAVE_FABSL)
>     GLIBCXX_CHECK_LINKER_FEATURES
>     ;;


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38919


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]