This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38919] math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2009 08:22:19 -0000
- Subject: [Bug libstdc++/38919] math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h
- References: <bug-38919-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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