[Bug 2038] New: C99 integer type mismatch in GCC and Newlib

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Mar 9 08:12:10 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2038

             Bug #: 2038
           Summary: C99 integer type mismatch in GCC and Newlib
    Classification: Unclassified
           Product: Tools
           Version: unspecified
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: GCC
        AssignedTo: ralf.corsepius at rtems.org
        ReportedBy: sebastian.huber at embedded-brains.de


GCC has two tests which check if some types internal to GCC are equal to the
one defined in stdint.h:

gcc/testsuite/gcc.dg/c99-stdint-5.c
gcc/testsuite/gcc.dg/c99-stdint-6.c

GCC test results:

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-5.c: In
function 'check_types':

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-5.c:59:3:
error: initialization from incompatible pointer type

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-5.c:59:3:
error: initialization from incompatible pointer type

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-5.c:62:3:
error: initialization from incompatible pointer type

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-5.c:62:3:
error: initialization from incompatible pointer type


/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-6.c: In
function 'check_types':

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-6.c:64:3:
error: initialization from incompatible pointer type

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-6.c:64:3:
error: initialization from incompatible pointer type

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-6.c:67:3:
error: initialization from incompatible pointer type

/home/sh/archive/gcc-4.7.0-RC-20120302/gcc/testsuite/gcc.dg/c99-stdint-6.c:67:3:
error: initialization from incompatible pointer type


I am not sure how to fix this.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list