🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2549

sparc include file bug...

#2549
From: ascway!wkd
Date: Wed, 19 Apr 1989 20:51
18 lines
980 bytes
I'm using gcc version 1.34 under SunOs4.0.1 on a Sun 4 (sparc) machine.

The bug is in the stdarg.h file that comes with gcc - it has a line:

#ifndef sparc
...

to conditionally define the va_start macro based on whether the machine
is a sparc machine or not. Ig you use gcc -ansi, then the predefined
'sparc' symbol is ommitted, and only the '__sparc__' symbol is
predefined, causing the va_start macro to get messed up. Other
occurrences of testing the sparc symbol also test
__STDC__ and __sparc__.

Bill Duttweiler
Schlumberger Well Services
Austin Systems Center
Technical Details
Message-ID: <8904192051.AA01158@sake.SWS-ASC.SLB.COM>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!ascway!wkd

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!ascway!wkd
From: ascway!wkd@CS.UTEXAS.EDU
Newsgroups: gnu.gcc.bug
Subject: sparc include file bug...
Message-ID: <8904192051.AA01158@sake.SWS-ASC.SLB.COM>
Date: 19 Apr 89 20:51:02 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18