Opened 15 years ago

Last modified 13 years ago

#212 closed defect

386/stdarg.h does not work with GCC 4.4.0 — at Initial Version

Reported by: psmedley Owned by: bird
Priority: low Milestone: libc-0.6.4
Component: libc Version: 0.6.2
Severity: normal Keywords:
Cc:

Description

386/stdarg.h needs modifications to work with GCC 4.4.0 as builtin_stdarg_start does not exist anymore.

Suggested patch is: --- \stdarg.h 2007-06-10 16:44:46.000000000 +0845 +++ stdarg.h 2009-04-16 13:15:38.000000000 +0845 @@ -54,8 +54,13 @@

#if defined(GNUC) && (GNUC == 2 && GNUC_MINOR > 95
GNUC >= 3)

+#if defined(GNUC) && (GNUC == 4 && GNUC_MINOR >= 4 ) +#define va_start(ap, last) \ + builtin_va_start((ap), (last)) +#else

#define va_start(ap, last) \

builtin_stdarg_start((ap), (last))

+#endif

#define va_arg(ap, type) \

builtin_va_arg((ap), type)

This has been tested with GCC 3.3 and 4.4 as OK

Change History (0)

Note: See TracTickets for help on using tickets.