Re: Error when building mingw-runtime from source distribution
Danny Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <001501c28838$71f76520$6098a7cb@DANNY> |
Thanks, This has already been fixed in CVS. Danny ----- Original Message ----- From: "Igor Georgiev" <gory-bb0uNzUamraRdCr/[email protected]> To: <[email protected]> Sent: Saturday, 9 November 2002 13:26 Subject: [MinGW-patches] Error when building mingw-runtime from source distribution when building mingw-runtime from source distribution #----------------------------------------------------------------------- -- In file included from crt1.c:29: include/stdlib.h:153: syntax error before "int" In file included from crt1.c:33: Actualy it's here stdlib.h missing ";" in lines 138 & 140 135 #else /* ! __DECLSPEC_SUPPORTED */ 136 # ifdef __MSVCRT__ 137 extern int* _imp____mbcur_max; 138 # define MB_CUR_MAX (*_imp____mb_cur_max) 139 # else /* not __MSVCRT */ 140 extern int* _imp____mbcur_max_dll; 141 # define MB_CUR_MAX (*_imp____mb_cur_max_dll) 142 # endif /* not __MSVCRT */ 143 #endif /* __DECLSPEC_SUPPORTED */ 144 #endif /* MB_CUR_MAX */ #-- patch here ----------------------------------------------------------- --- stdlib.h.old Sat Nov 9 13:45:39 2002 +++ stdlib.h Sat Nov 9 14:33:50 2002 @@ -134,10 +134,10 @@ __MINGW_IMPORT char** __argv_dll; #else /* ! __DECLSPEC_SUPPORTED */ # ifdef __MSVCRT__ - extern int* _imp____mbcur_max + extern int* _imp____mbcur_max; # define MB_CUR_MAX (*_imp____mb_cur_max) # else /* not __MSVCRT */ - extern int* _imp____mbcur_max_dll + extern int* _imp____mbcur_max_dll; # define MB_CUR_MAX (*_imp____mb_cur_max_dll) # endif /* not __MSVCRT */ #endif /* __DECLSPEC_SUPPORTED */ #----------------------------------------------------------------------- -- or just take stdlib.h from binary distro ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf