[Mono-bugs] [Bug 446205] New: prototypes do not match body
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 18 13:27:56 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=446205
Summary: prototypes do not match body
Product: Mono: Runtime
Version: SVN
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: joel.sherrill at oarcorp.com
QAContact: mono-bugs at lists.ximian.com
Found By: Other
Hi,
I assume this isn't showing up on another target or it would have been fixed.
I am using gcc SVN trunk targeting powerpc so that might be a factor in
the pickiness. I see a number of cases where prototypes in the .h files do not
match the implementation. Since map.h has a comment not to edit it, I am
assuming the C implementations are wrong. But I don't know.
Here is a subset of the errors from support/stdio.c
stdio.c:78: error: conflicting types for 'Mono_Posix_Stdlib__IOFBF'
map.h:1587: note: previous declaration of 'Mono_Posix_Stdlib__IOFBF' was here
stdio.c:84: error: conflicting types for 'Mono_Posix_Stdlib__IOLBF'
map.h:1588: note: previous declaration of 'Mono_Posix_Stdlib__IOLBF' was here
stdio.c:90: error: conflicting types for 'Mono_Posix_Stdlib__IONBF'
map.h:1589: note: previous declaration of 'Mono_Posix_Stdlib__IONBF' was here
stdio.c:96: error: conflicting types for 'Mono_Posix_Stdlib_BUFSIZ'
map.h:1590: note: previous declaration of 'Mono_Posix_Stdlib_BUFSIZ' was here
stdio.c:102: error: conflicting types for 'Mono_Posix_Stdlib_EOF'
map.h:1595: note: previous declaration of 'Mono_Posix_Stdlib_EOF' was here
stdio.c:108: error: conflicting types for 'Mono_Posix_Stdlib_FOPEN_MAX'
map.h:1600: note: previous declaration of 'Mono_Posix_Stdlib_FOPEN_MAX' was
here
stdio.c:114: error: conflicting types for 'Mono_Posix_Stdlib_FILENAME_MAX'
map.h:1599: note: previous declaration of 'Mono_Posix_Stdlib_FILENAME_MAX' was
here
stdio.c:120: error: conflicting types for 'Mono_Posix_Stdlib_L_tmpnam'
map.h:1607: note: previous declaration of 'Mono_Posix_Stdlib_L_tmpnam' was here
stdio.c:144: error: conflicting types for 'Mono_Posix_Stdlib_TMP_MAX'
map.h:1624: note: previous declaration of 'Mono_Posix_Stdlib_TMP_MAX' was here
stdio.c:150: error: conflicting types for 'Mono_Posix_Stdlib_setvbuf'
map.h:1616: note: previous declaration of 'Mono_Posix_Stdlib_setvbuf' was here
stdio.c:164: error: conflicting types for 'Mono_Posix_Stdlib_fseek'
map.h:1602: note: previous declaration of 'Mono_Posix_Stdlib_fseek' was here
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list