Hi,
during a new fresh compilation I saw several warnings:
In file included from ../../include/winnt.h:27, from ../../include/windef.h:234, from crtdll_main.c:28: ../../include/msvcrt/ctype.h:72: warning: conflicting types for built-in function ‘iswalnum’ ../../include/msvcrt/ctype.h:73: warning: conflicting types for built-in function ‘iswalpha’ ../../include/msvcrt/ctype.h:75: warning: conflicting types for built-in function ‘iswcntrl’ ../../include/msvcrt/ctype.h:77: warning: conflicting types for built-in function ‘iswdigit’ ../../include/msvcrt/ctype.h:78: warning: conflicting types for built-in function ‘iswgraph’ ../../include/msvcrt/ctype.h:79: warning: conflicting types for built-in function ‘iswlower’ ../../include/msvcrt/ctype.h:80: warning: conflicting types for built-in function ‘iswprint’ ../../include/msvcrt/ctype.h:81: warning: conflicting types for built-in function ‘iswpunct’ ../../include/msvcrt/ctype.h:82: warning: conflicting types for built-in function ‘iswspace’ ../../include/msvcrt/ctype.h:83: warning: conflicting types for built-in function ‘iswupper’ ../../include/msvcrt/ctype.h:84: warning: conflicting types for built-in function ‘iswxdigit’ ../../include/msvcrt/ctype.h:85: warning: conflicting types for built-in function ‘towlower’
It turns out these errors are generated for some dll's (crtdll and msvcrtd and their tests). And also for some programs (notepad, regedit, taskmgr, wordpad).
The common thing is that they all have in their Makefile.in:
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
Is this harmless? Should it (what?) be fixed?
Cheers,
Paul.
Paul Vriens Paul.Vriens@xs4all.nl writes:
It turns out these errors are generated for some dll's (crtdll and msvcrtd and their tests). And also for some programs (notepad, regedit, taskmgr, wordpad).
The common thing is that they all have in their Makefile.in:
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
Is this harmless? Should it (what?) be fixed?
There's a configure check to add -fno-builtin for these cases, you should check why that doesn't work for you.
Paul Vriens Paul.Vriens@xs4all.nl writes:
It turns out these errors are generated for some dll's (crtdll and msvcrtd and their tests). And also for some programs (notepad, regedit, taskmgr, wordpad).
The common thing is that they all have in their Makefile.in:
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
Is this harmless? Should it (what?) be fixed?
There's a configure check to add -fno-builtin for these cases, you should check why that doesn't work for you.
-- Alexandre Julliard julliard@winehq.org
Well the strange thing is:
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -fno-builtin-iswalnum -fno-builtin-iswalpha -fno-builtin-iswcntrl -fno-builtin-iswdigit -fno-builtin-iswgraph -fno-builtin-iswlower -fno-builtin-iswprint -fno-builtin-iswpunct -fno-builtin-iswspace -fno-builtin-iswupper -fno-builtin-iswxdigit -fno-builtin-towlower -fno-builtin-towupper -o crtdll_main.o crtdll_main.c
Does this mean a gcc bug?
I'm running an up-to-date FC5 install (gcc 4.1.1).
Cheers,
Paul.
"Paul Vriens" paul.vriens@xs4all.nl writes:
Well the strange thing is:
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -fno-builtin-iswalnum -fno-builtin-iswalpha -fno-builtin-iswcntrl -fno-builtin-iswdigit -fno-builtin-iswgraph -fno-builtin-iswlower -fno-builtin-iswprint -fno-builtin-iswpunct -fno-builtin-iswspace -fno-builtin-iswupper -fno-builtin-iswxdigit -fno-builtin-towlower -fno-builtin-towupper -o crtdll_main.o crtdll_main.c
Does this mean a gcc bug?
It looks like it, yes.