🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41619

solaris compilation problems with gcc 2.7.2

#41619
From: Eric McWhorter
Date: Wed, 28 Feb 1996 00:00
22 lines
1327 bytes
I've compiled gcc 2.7.2 on my Sun Ultra.  I've tried to use
it to compile stuff with limited success.  Most notably, I 
can't get glibc-1.09 to compile with gcc 2.7.2

glibc-1.09, compiled with gcc 2.5.6 solaris binary distribution 
after editing one Makefile.  Will not compile with gcc 2.7.2.
The error message is:
stdio/stdio.h:167: parse error before `void'

The line it's complaining about is:
extern __NORETURN void __libc_fatal __P ((__const char *__message));
In fact, the compile pukes at serveral points when it hits an
extern __NORETURN ...
Why does gcc 2.5.6 not complain, yet gcc 2.7.2 refuse to compile this?
Anyone know the fix?

Can I use glibc compiled with 2.5.6 with 2.7.2?  Is this a dumb 
question?
-- 
Eric McWhorter                     2-207 Wilson Hall, MSU, Bozeman, MT 59717
Math Sciences                      (406)994-1788
Montana State University           ericm@math.montana.edu
Technical Details
Message-ID: <4h22rd$649@news.oscs.montana.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c85de81ba82899c4,start
X-Google-Attributes: gid11318c,public
From: ericm@math.montana.edu (Eric McWhorter)
Subject: solaris compilation problems with gcc 2.7.2
Date: 1996/02/28
Message-ID: <4h22rd$649@news.oscs.montana.edu>
X-Deja-AN: 141517944
organization: Math Sciences, MSU, Bozeman MT, 59717
newsgroups: gnu.gcc.help