RTEMS patch sweep: stdint.h/inttypes.h
Nicholas Wourms
nwourms@netscape.net
Sun Mar 6 23:31:00 GMT 2005
Why is machine/_types.h in a shared directory?
I guess what I'm saying is: what is the point of adding these defines globally if they are only being used by rtems? Â This stuff is really platform specific and shouldn't be filled with crazy ifdef logic. Â However, it seems the damage is done, so I've come up with another idea. Â A better soultion would be to add a "machine" directory for each platform and put it there. Â That way, each platform could modify it to their needs. Â This is how GLIBC does it, so I see no reason why we can't.
Cheers,
Nicholas
P.S. - I'm sorry if I sound a little cranky, it's just that I've been working on a cygwin project for 6 months now to add a whole bunch of c99 extensions. Â As part of this, I had to create a file of the same name, but I put it in winsup/cygwin/include/machine/_types.h.
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
More information about the Newlib
mailing list