🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mark Purtill Mon, 06 Apr 1992 15:41
Bug report
#152
Author: Mark Purtill
Date: Mon, 06 Apr 1992 15:41
25 lines
1251 bytes
On a Sparcstation 2 (which is not connected to the outside;  I'm
typing this in from a printed transcript, so I might err).
% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.1/specs
gcc version 2.1
% more /etc/motd
SunOS Release 4.1.1 (CARS_2) #3: Thu Aug 15 10:35:49 EDT 1991
% cat >bugs.C
volatile void abort() ;
volatile void oink() ;
    void
oink() {
    abort() ;
    }
^D
% gcc -c bugs.C
bugs.C: In function `void  oink ()':
bugs.C:6: warning: `volatile' function does return
%
	Of course, the warning is erroneous, since oink calls abort,
which doesn't return, so `oink' doesn't either.  This problem did not
occur on g++ 1.37.1 (I think), which we had here until recently.

^.-.^ Mark Purtill, IDA/CCR-P, Thanet Road, Princeton NJ  08540; (609)924-4600.
((")) Email: purtill%idacrd@princeton.edu; uunet!idacrd!purtill. (609)497-0526.
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