Creating builtin platform specific typedefs

Jim Wilson wilson@tuliptree.org
Wed Jun 25 21:39:00 GMT 2003


Steve Ellcey wrote:
 >  Specifically, I am thinking that if I created a
> builtin type of __va_list that was set to the type of __gnuc_va_list
> then I might have a shot at removing any need to hack header files on
> the HP-UX IA64 platform and that would be a very good thing in my
> opinion.

I would think that a simpler solution is to put the type you need in 
gcc's stdarg.h.

Trying to avoid running fixincludes is risky.  If gcc and HPUX ever get 
out of step, then gcc starts failing, possibly in subtle ways.  It would 
be a shame if HP releases a new version of HPUX, and then we find that 
the last gcc release doesn't work on it because we aren't running 
fixincludes.

Jim



More information about the Gcc mailing list