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

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Mar 30 15:29:47 UTC 2012


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

--- Comment #13 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2012-03-30 10:29:47 CDT ---
Created attachment 1464
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1464
Alternative stdint.h

Since the only remaining problem in stdint.h after Ralf's first patch was test
c99-stdint-1.c.  What about this stdint.h?  GCC seems to use int for the
pointer integer type when possible.  The INTPTR_MAX, INTPTR_MIN, and
UINTPTR_MAX constants definition uses this heuristic.

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