[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

confused by stdarg.h



My effort to compile using LSB headers launched me into a relatively
thorough review of the headers and to file a bunch of bugs.  Review /
comment probably wouldn't hurt from some folks other than Stuart.

Anyway, I have a question.

What should be the spec stance with respect to headers that are
provided by gcc.  Several lsb headers use va_list, for example.
va_list is not defined in any lsb header file, however there is a
<stdarg.h> header that's supplied by gcc in the gcc-lib directory
tree.    In fact, I got here originally because I was having some
conflicting defines where the lsb headers said something
slightly different than the gcc-supplied stuff.

Should the spec be "self-contained" or is it okay to depend on
some things called out in the spec to actually be defined by
gcc's own header files?


Mats Wichmann



Reply to: