sedwards(a)svn.reactos.com wrote:
more msvc compile fixes by Brezenbak and I
Hi,
this change breaks compiling for me. I get the following error.
- Hartmut:
gcc -c lib\crt\float\chgsign.c -o .\up\obj-i386\lib\crt\float\chgsign.o
-I.\up\obj-i386\lib\crt -Ilib\crt -Ilib\crt\include -D_DISABLE_TIDENTS
-D__MINGW_IMPORT=extern -D__USE_W32API -D_WIN32_IE=0x600
-D_WIN32_WINNT=0x501 -D__REACTOS__ -DUSE_MSVCRT_PREFIX -D_MSVCRT_LIB_
-D_MSVCRT_ -D_MT -Iinclude -Iinclude\reactos -Iinclude\libs
-Iinclude\drivers -Iinclude\subsys -Iinclude\ndk -Iw32api\include
-Iw32api\include\crt -Iw32api\include\ddk -D_M_IX86 -D_X86_ -D__i386__
-DDBG -Wall -momit-leaf-frame-pointer -mpreferred-stack-boundary=2
-ftracer -Os -fno-strict-aliasing -fno-optimize-sibling-calls
-Wpointer-arith -g -pipe -Werror
gcc -c lib\crt\float\clearfp.c -o .\up\obj-i386\lib\crt\float\clearfp.o
-I.\up\obj-i386\lib\crt -Ilib\crt -Ilib\crt\include -D_DISABLE_TIDENTS
-D__MINGW_IMPORT=extern -D__USE_W32API -D_WIN32_IE=0x600
-D_WIN32_WINNT=0x501 -D__REACTOS__ -DUSE_MSVCRT_PREFIX -D_MSVCRT_LIB_
-D_MSVCRT_ -D_MT -Iinclude -Iinclude\reactos -Iinclude\libs
-Iinclude\drivers -Iinclude\subsys -Iinclude\ndk -Iw32api\include
-Iw32api\include\crt -Iw32api\include\ddk -D_M_IX86 -D_X86_ -D__i386__
-DDBG -Wall -momit-leaf-frame-pointer -mpreferred-stack-boundary=2
-ftracer -Os -fno-strict-aliasing -fno-optimize-sibling-calls
-Wpointer-arith -g -pipe -Werror
In file included from lib\crt\float\chgsign.c:1:
lib/crt/include/float.h:94:1: "DBL_MAX_10_EXP" redefined
In file included from lib/crt/include/float.h:19,
from lib\crt\float\chgsign.c:1:
e:/mingw/bin/../lib/gcc/mingw32/3.4.2/include/float.h:97:1: this is the
location of the previous definition
_make: *** [.\up\obj-i386\lib\crt\float\chgsign.o] Error 1
_make: *** Waiting for unfinished jobs....
In file included from lib\crt\float\clearfp.c:1:
lib/crt/include/float.h:94:1: "DBL_MAX_10_EXP" redefined
In file included from lib/crt/include/float.h:19,
from lib\crt\float\clearfp.c:1:
e:/mingw/bin/../lib/gcc/mingw32/3.4.2/include/float.h:97:1: this is the
location of the previous definition
_make: *** [.\up\obj-i386\lib\crt\float\clearfp.o] Error 1