From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,fbea6ba4d37dfcee,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,fbea6ba4d37dfcee,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-10-09 23:38:15 PST Xref: gmd.de comp.sys.dec:10739 comp.unix.ultrix:11298 Newsgroups: comp.sys.dec,comp.unix.ultrix Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!boulder!cnsnews!news!grunwald From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald) Subject: declaring __builtin_va_start Message-ID: Sender: usenet@cnsnews.Colorado.EDU (Net News Administrator) Nntp-Posting-Host: foobar.cs.colorado.edu Reply-To: grunwald@foobar.cs.colorado.edu Organization: University of Colorado at Boulder Date: Fri, 8 Oct 1993 02:01:59 GMT 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 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?