🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50990

Re: GCC Solaris help-__buildin_va_alist

#50990
From: Scott Piette
Date: Thu, 15 Jul 1993 22:02
25 lines
1657 bytes
spiette@ux2.uiuc.edu (Scott Piette) writes:

>I recently installed gcc on our Sparc LX with Solaris(yuk) and I can not
>seem to compile a program that references va_list.  When I compile with
>gcc I get the following error-

>herr.c:  In function `HEreport':
>herr.c:  `__builtin_va_alist' undeclared (first use this function)
>*** Error code 1

>I have included stdarg.h for this module.

>I have done a strings on cc1 (gcc) and found __builtin_va_alist in this file.
>I have also run fixincludes.  I have not rebuilt gcc.  I installed gcc from
>the CDWARE volume 4, and it was offered by cygnus.

>Any help would be greatly appreciated.

Well is seems that the net is not very helpful so I am going to make
a 100% improvment.

As it turns out all I needed to do was to specify a -traditional switch
on the cc command line.  For some reason this corrects the problem with gcc

Scott Piette
Technical Details
Message-ID: <CA87w2.217@news.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ux2.cso.uiuc.edu!spiette
References: <CA6BDM.8x3@news.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,df537f57d9246a91,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-19 21:36:41 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ux2.cso.uiuc.edu!spiette
From: spiette@ux2.uiuc.edu (Scott Piette)
Subject: Re: GCC Solaris help-__buildin_va_alist
Date: Thu, 15 Jul 1993 22:02:25 GMT
Message-ID: <CA87w2.217@news.cso.uiuc.edu>
References: <CA6BDM.8x3@news.cso.uiuc.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Keywords: va_list
Reply-To: spiette@ux2.cso.uiuc.edu
Originator: spiette@ux2.cso.uiuc.edu
Organization: University of Illinois at Urbana
Lines: 26