Re: Build problem on WIN32


Subject: Re: Build problem on WIN32
From: Tom Briggs (tomabi@jules.briggs.cx)
Date: Thu Mar 22 2001 - 22:36:20 CST


   I woulda sworn I fixed this last night. Are you working with the
latest CVS?
   The fix is to #include <stdlib.h> before #including <windows.h>, I
believe. Check Bonsai or the list archives for a post from Mike Nordell
if you need a definitive answer.

   -Tom

On Fri, 23 Mar 2001, Bruce Pearson wrote:

> Can anybody help with this build problem on WIN32.
>
> Thanks,
> Bruce.
>
> Building with [LicensedTrademarks:Off Debug:On BiDi:Off Pspell:Off].
> ap_Win32App.cpp
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(281) : error
> C205
> 9: syntax error : 'constant'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(281) : error
> C273
> 3: second C linkage of overloaded function '_calloc_dbg' not allowed
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(281)
> : se
> e declaration of '_calloc_dbg'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(283) : error
> C205
> 9: syntax error : 'constant'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(283) : error
> C273
> 3: second C linkage of overloaded function '_free_dbg' not allowed
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(283)
> : se
> e declaration of '_free_dbg'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(298) : error
> C205
> 9: syntax error : 'constant'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(298) : error
> C273
> 3: second C linkage of overloaded function '_malloc_dbg' not allowed
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(298)
> : se
> e declaration of '_malloc_dbg'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(306) : error
> C205
> 9: syntax error : 'constant'
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(306) : error
> C273
> 3: second C linkage of overloaded function '_realloc_dbg' not allowed
> G:\Program Files\Microsoft Visual Studio\VC98\include\stdlib.h(306)
> : se
> e declaration of '_realloc_dbg'
> make[4]: ***
> [/cygdrive/l/abiword/abi/src/WIN32_1.1.8_i386_DBG/obj/ap_Win32App.o
> bj] Error 2
> make[4]: Leaving directory `/cygdrive/l/abiword/abi/src/wp/ap/win'
> make[3]: *** [build] Error 2
> make[3]: Leaving directory `/cygdrive/l/abiword/abi/src/wp/ap'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/cygdrive/l/abiword/abi/src/wp'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/cygdrive/l/abiword/abi/src'
> make: *** [compile] Error 2
>
>
>



This archive was generated by hypermail 2b25 : Thu Mar 22 2001 - 23:12:43 CST