🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Netnews Administrator Wed, 03 Jan 1996 00:00
(none)
#6272
Author: Netnews Administrator
Date: Wed, 03 Jan 1996 00:00
32 lines
1476 bytes
Newsgroups: gnu.gcc.bug
Path: news
From: Alex Vinogradov <vinoga@fi.gs.com>
Subject: __attribute__ ((__volatile__)) in 2.7.x
Content-Type: text/plain; charset=us-ascii
Message-ID: <30EACDF7.41C67EA6@fi.gs.com>
Sender: news@fi.gs.com (Netnews Administrator)
Nntp-Posting-Host: sle14.fi.gs.com
Content-Transfer-Encoding: 7bit
Organization: Fixed Income Division - Goldman, Sachs & Co.
Mime-Version: 1.0
Date: Wed, 3 Jan 1996 18:42:00 GMT
X-Mailer: Mozilla 2.0b4 (X11; I; SunOS 4.1.3 sun4c)

I am trying to build GNU libc (latest version -- 1.9) and it chokes on
compiling stdio/stdio.h:167 which contains the following line:

	extern __NORETURN void __libc_fatal 
			__P ((__const char *__message));

As it turns out, this line gets expanded into:

	extern __attribute__ ((__volatile__))  void __libc_fatal
			  (__const char *__message)  ;

and it looks like gcc 2.7.x cannot handle __attribute__ keyword (it dies
with a message 'stdio/stdio.h:167: parse error before `void'').

I am using gcc 2.7.2 (and I also tried gcc 2.7.0) on SunOS 4.1.3

Thanks,
Alex
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads