Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* declaring __builtin_va_start
@ 1993-10-08  2:01 Dirk Grunwald
  0 siblings, 0 replies; only message in thread
From: Dirk Grunwald @ 1993-10-08  2:01 UTC (permalink / raw)



In order to get 'stdarg.h' to work with AT&T C++ on the DEC Alpha, I
need to declare __builtin_va_start so that AT&T C++ will be happy.

E.g., in /usr/include/CC/stdarg.h, I have...

extern "C" {
#include <cc/stdarg.h>
    void __builtin_va_start(...);
}

However, whenever the decleration for __builtin_va_start is then given
to the DEC C compiler, it complains, saying...

cc  -c  -O -g3 -I../src ggErr.c
/usr/lib/cmplrs/cc/cfe: Error: /srl/CC/include/stdarg.h, line 8: Syntax Error
 extern void __builtin_va_start ();

Does anyone know if there's a way around this error?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-10-08  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-08  2:01 declaring __builtin_va_start Dirk Grunwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox