🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by P{r Emanuelsson Fri, 20 Jan 1989 12:13
Forgotten * (v 1.32)
#1623
Author: P{r Emanuelsson
Date: Fri, 20 Jan 1989 12:13
19 lines
1024 bytes
A little slip of my fingers produced the following code:
--
typedef void (vfunp)();   // This should read "typdef void (*vfunp)();"

extern void foo(vfunp);
--
And the compilation result:

1% g++ -c -v bug.cc
g++ version 1.32.0
 /usr/local/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dmc68000 -Dsun -Dunix
bug.cc /tmp/cca01169.cpp
GNU CPP version 1.30
 /usr/local/lib/gcc-c++ /tmp/cca01169.cpp -quiet -dumpbase bug.cc -noreg
-version -o /tmp/cca01169.s
GNU C++ version 1.32.0 (68k, MIT syntax) compiled by CC.
bug.cc:3: Segmentation violation
g++: Program c++ got fatal signal 11.
2%
Re: Forgotten * (v 1.32)
#1624
Author: Doug Schmidt
Date: Fri, 20 Jan 1989 18:05
21 lines
1343 bytes
In article <8901201213.AA04226@rainier.liu.se> pell@isy.liu.se (P{r Emanuelsson) writes:
|>A little slip of my fingers produced the following code:
|>--
|>typedef void (vfunp)();   // This should read "typdef void (*vfunp)();"
|>
|>extern void foo(vfunp);
|>--
|>GNU C++ version 1.32.0 (68k, MIT syntax) compiled by CC.
|>bug.cc:3: Segmentation violation
|>g++: Program c++ got fatal signal 11.
|>2%

I posted a patch for this problem about 2 days ago.  Send me mail
if you didn't get it.

Doug Schmidt
--
schmidt@ics.uci.edu (ARPA) |   Per me si va nella citta' dolente.
office: (714) 856-4043     |   Per me si va nell'eterno dolore.
                           |   Per me si va tra la perduta gente.
                           |   Lasciate ogni speranza o voi ch'entrate.
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