[Mono-bugs] [Bug 446205] prototypes do not match body

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 18 14:03:36 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=446205

User jpryor at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446205#c1


Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |jpryor at novell.com




--- Comment #1 from Jonathan Pryor <jpryor at novell.com>  2008-11-18 12:03:35 MST ---
That's correct, we (well, I) don't see these errors on e.g. x86-64.

The "real" problem is that map.h has:

    int Mono_Posix_Stdlib__IOFBF (void);

while stdio.c has:

    gint32
    Mono_Posix_Stdlib__IOFBF (void)
    {
        return _IOFBF;
    }

This doesn't cause a problem as on this platform
/usr/lib64/glib-2.0/include/glibconfig.h specifies:

   typedef signed int gint32;

i.e. gint32 and `int` are synonymous, and there is no problem here.  This
should be true for ~all platforms of consequence (ILP32, LP64, and P64
platforms).

What is gint32 on your powerpc machine?


-- 
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