🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54327

Pyramid, varargs

#54327
From: Akman
Date: Mon, 29 Oct 1990 18:11
17 lines
1105 bytes
Just compiled GCC for a pyramid, and can't seem to get it to work
right with vararg functions.  When I use the new style declaration
(with ellipses) I either fail at link time or I get compile-time
errors.  Sometimes it says _va0 undefined.  I've tried both stdarg.h
and varargs.h.

As a workaround, I compile my vararg function definitions with cc
instead of gcc, and that works fine, but it means that file is all
pre-ansi C.

Help?

--

-----------
Aaron Akman, 201-699-8019, bellcore!cheetah!aaron, RRC 4D-728
Technical Details
Message-ID: <AARON.90Oct29131101@cheetah.rruxh.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!bu.edu!dimacs.rutgers.edu!rutgers!bellcore-2!bellcore!rruxh!aaron

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7ab2dbfc4604ad2d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-10-29 19:52:21 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!bu.edu!dimacs.rutgers.edu!rutgers!bellcore-2!bellcore!rruxh!aaron
From: aaron@rruxh.UUCP (Akman)
Newsgroups: gnu.gcc.help
Subject: Pyramid, varargs
Message-ID: <AARON.90Oct29131101@cheetah.rruxh.UUCP>
Date: 29 Oct 90 18:11:01 GMT
Sender: news@bellcore.bellcore.com
Distribution: gnu
Organization: Bellcore
Lines: 17
Posted: Mon Oct 29 19:11:01 1990