On 4/22/05, Florian Goth <[EMAIL PROTECTED]> wrote:
> Hi!
> I've just installed gcc 4.0 and now wine(CVS) stops compiling
> in ./wine/dlls/msvcrt/tests :
> 
> gcc -c -I. -I. -I../../../include -I../../../include -I../../../include/msvcrt
> -I./..   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2
> -fno-strict-aliasing -gstabs+ -Wpointer-arith  -O2 -o headers.o headers.c
> In file included from headers.c:33:
> ../../../include/msvcrt/wchar.h:201: warning: conflicting types for built-in
> function 'iswalnum'
> ../../../include/msvcrt/wchar.h:202: warning: conflicting types for built-in
> function 'iswalpha'
> ../../../include/msvcrt/wchar.h:204: warning: conflicting types for built-in
> function 'iswcntrl'
> ../../../include/msvcrt/wchar.h:206: warning: conflicting types for built-in
> function 'iswdigit'
> ../../../include/msvcrt/wchar.h:207: warning: conflicting types for built-in
> function 'iswgraph'
> ../../../include/msvcrt/wchar.h:208: warning: conflicting types for built-in
> function 'iswlower'
> ../../../include/msvcrt/wchar.h:209: warning: conflicting types for built-in
> function 'iswprint'
> ../../../include/msvcrt/wchar.h:210: warning: conflicting types for built-in
> function 'iswpunct'
> ../../../include/msvcrt/wchar.h:211: warning: conflicting types for built-in
> function 'iswspace'
> ../../../include/msvcrt/wchar.h:212: warning: conflicting types for built-in
> function 'iswupper'
> ../../../include/msvcrt/wchar.h:213: warning: conflicting types for built-in
> function 'iswxdigit'
> ../../../include/msvcrt/wchar.h:214: warning: conflicting types for built-in
> function 'towlower'
> ../../../include/msvcrt/wchar.h:215: warning: conflicting types for built-in
> function 'towupper'
> ../../../include/msvcrt/io.h:179: error: 'open' aliased to undefined symbol
> '_open'
> ../../../include/msvcrt/io.h:180: error: 'sopen' aliased to undefined symbol
> '_sopen'
> ../../../include/msvcrt/conio.h:57: error: 'cprintf' aliased to undefined
> symbol '_cprintf'
> ../../../include/msvcrt/conio.h:58: error: 'cscanf' aliased to undefined
> symbol '_cscanf'
> ../../../include/msvcrt/process.h:129: error: 'execl' aliased to undefined
> symbol '_execl'
> ../../../include/msvcrt/process.h:130: error: 'execle' aliased to undefined
> symbol '_execle'
> ../../../include/msvcrt/process.h:131: error: 'execlp' aliased to undefined
> symbol '_execlp'
> ../../../include/msvcrt/process.h:132: error: 'execlpe' aliased to undefined
> symbol '_execlpe'
> ../../../include/msvcrt/process.h:133: error: 'spawnl' aliased to undefined
> symbol '_spawnl'
> ../../../include/msvcrt/process.h:134: error: 'spawnle' aliased to undefined
> symbol '_spawnle'
> ../../../include/msvcrt/process.h:135: error: 'spawnlp' aliased to undefined
> symbol '_spawnlp'
> ../../../include/msvcrt/process.h:136: error: 'spawnlpe' aliased to undefined
> symbol '_spawnlpe'
> make: *** [headers.o] Error 1

If you go into the respective includes ie
wine/include/msvcrt/process.h and #if 0 define the block of aliases
out, the compile will work.

-- 
James Hawkins


Reply via email to