🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51341

GCC 2.4.3 varargs problem

#51341
From: Matt Mosley
Date: Sat, 05 Jun 1993 16:23
18 lines
1438 bytes
I've had problems recently compiling two pieces of software, the zephyr
dist from athena and gopher1.12.  The problem is exactly the same on
both of them.

The problem is that the software uses stdarg.h because it thinks that
gcc is an ansi compiler (as it is.)  However, stdarg.h screws up the
compiles in different definitions for varargs.  If I change the code to
use varargs.h, it tends to work.  However, there are some places where
it is very difficult to remove 2/3 of the code and change it to get it
to work.  It actually compiled cleanly with gcc 2.3.3, btw.

Anyone else see this problem;  any fixes?

-- Matt
-- 
Matt Mosley		|  "... criticize the words they're selling.  Think
Digital Express Group	|       for yourself, and feel the walls...
mattm@access.digex.net	|       become sand beneath your feet." - Queensryche
Technical Details
Message-ID: <1uqh9o$ibv@ss1.digex.net>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!digex.com!digex.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3532dc7a5c9c70ae,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-05 15:34:58 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!digex.com!digex.com!not-for-mail
From: mattm@access.digex.com (Matt Mosley)
Newsgroups: gnu.gcc.help
Subject: GCC 2.4.3 varargs problem
Date: 5 Jun 1993 12:23:20 -0400
Organization: Express Access Online Communications, Greenbelt, MD USA
Lines: 18
Message-ID: <1uqh9o$ibv@ss1.digex.net>
NNTP-Posting-Host: ss1.digex.net