Opened 13 years ago

Closed 13 years ago

#6969 closed bug (fixed)

redundant redeclations

Reported by: scottmc Owned by: zooey
Priority: normal Milestone: R1
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Similar to #3460, still seeing a few more redundant redeclarations, saw these pop up while building tuxpaint:

In file included from /boot/develop/haikuports/media-gfx/tuxpaint/work/tuxpaint-0.9.2x-cvs/src/i18n.c:47:
/boot/develop/headers/posix/wctype.h:17: warning: redundant redeclaration of `iswalnum' in same scope
/boot/develop/headers/posix/wchar.h:62: warning: previous declaration of `iswalnum'
/boot/develop/headers/posix/wctype.h:18: warning: redundant redeclaration of `iswalpha' in same scope
/boot/develop/headers/posix/wchar.h:63: warning: previous declaration of `iswalpha'
/boot/develop/headers/posix/wctype.h:20: warning: redundant redeclaration of `iswcntrl' in same scope
/boot/develop/headers/posix/wchar.h:64: warning: previous declaration of `iswcntrl'
/boot/develop/headers/posix/wctype.h:21: warning: redundant redeclaration of `iswdigit' in same scope
/boot/develop/headers/posix/wchar.h:66: warning: previous declaration of `iswdigit'
/boot/develop/headers/posix/wctype.h:22: warning: redundant redeclaration of `iswgraph' in same scope
/boot/develop/headers/posix/wchar.h:67: warning: previous declaration of `iswgraph'
/boot/develop/headers/posix/wctype.h:23: warning: redundant redeclaration of `iswlower' in same scope
/boot/develop/headers/posix/wchar.h:68: warning: previous declaration of `iswlower'
/boot/develop/headers/posix/wctype.h:24: warning: redundant redeclaration of `iswprint' in same scope
/boot/develop/headers/posix/wchar.h:69: warning: previous declaration of `iswprint'
/boot/develop/headers/posix/wctype.h:25: warning: redundant redeclaration of `iswpunct' in same scope
/boot/develop/headers/posix/wchar.h:70: warning: previous declaration of `iswpunct'
/boot/develop/headers/posix/wctype.h:26: warning: redundant redeclaration of `iswspace' in same scope
/boot/develop/headers/posix/wchar.h:71: warning: previous declaration of `iswspace'
/boot/develop/headers/posix/wctype.h:27: warning: redundant redeclaration of `iswupper' in same scope
/boot/develop/headers/posix/wchar.h:72: warning: previous declaration of `iswupper'
/boot/develop/headers/posix/wctype.h:28: warning: redundant redeclaration of `iswxdigit' in same scope
/boot/develop/headers/posix/wchar.h:73: warning: previous declaration of `iswxdigit'
/boot/develop/headers/posix/wctype.h:30: warning: redundant redeclaration of `iswctype' in same scope
/boot/develop/headers/posix/wchar.h:65: warning: previous declaration of `iswctype'
/boot/develop/headers/posix/wctype.h:32: warning: redundant redeclaration of `towlower' in same scope
/boot/develop/headers/posix/wchar.h:87: warning: previous declaration of `towlower'
/boot/develop/headers/posix/wctype.h:33: warning: redundant redeclaration of `towupper' in same scope
/boot/develop/headers/posix/wchar.h:88: warning: previous declaration of `towupper'
/boot/develop/headers/posix/wctype.h:36: warning: redundant redeclaration of `wctype' in same scope
/boot/develop/headers/posix/wchar.h:129: warning: previous declaration of `wctype'

Change History (3)

comment:1 by zooey, 13 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev39917.

comment:2 by scottmc, 13 years ago

Resolution: fixed
Status: closedreopened

This seems to be back? I just got this trying to build tuxpaint again in hrev41789:

/boot/develop/headers/posix/wctype.h:20: warning: redundant redeclaration of `towlower' in same scope
/boot/develop/headers/posix/wchar.h:87: warning: previous declaration of `towlower'
/boot/develop/headers/posix/wctype.h:21: warning: redundant redeclaration of `towupper' in same scope
/boot/develop/headers/posix/wchar.h:88: warning: previous declaration of `towupper'
/boot/develop/headers/posix/wctype.h:24: warning: redundant redeclaration of `wctype' in same scope
/boot/develop/headers/posix/wchar.h:129: warning: previous declaration of `wctype'

comment:3 by zooey, 13 years ago

Resolution: fixed
Status: reopenedclosed

Right, I missed a couple of duplicate declarations last time round - fixed for good in hrev41832.

Note: See TracTickets for help on using tickets.