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

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Apr 2 16:54:03 UTC 2012


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

--- Comment #17 from Ralf Corsepius <ralf.corsepius at rtems.org> 2012-04-02 11:54:03 CDT ---
(In reply to comment #16)
> Have others who use newlib dealt with this conflict before?
Which conflict are you talking about?

Newlib's stdint.h conflicting with gcc's stdint.h at compile-time?

> Is there any way to
> fix things upstream at either gcc or newlib?
Not yet, this is WIP, and you guys are just testing it ;)

>  The "fix" here seems like quite a
> hack.

The only hack inside of this patch is the "rm stdint.h". 

It's a short-cut to circumvent non-trivial surgery in newlib's and/or gcc's
configuration. Not having resolved this issue is one reason for me to call this
"WIP".

The reason for not having implemented this all as patches but to script it is
to allow it to be used conditionally. Otherwise I'd have to provide split
patches and to conditionally apply them.

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