🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by James Clark Tue, 28 Nov 1989 17:26
const bug
#638
Author: James Clark
Date: Tue, 28 Nov 1989 17:26
27 lines
1253 bytes
$ cat bug.cc
const int SUCCESS = 0;

int main()
{
  int r;
  return r = 0, SUCCESS;
}
$ g++ -v bug.cc
gcc version 1.36.1 (based on GCC 1.36)
 /usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dsparc
 -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ bug.cc /usr/tmp/cca01321.cpp
GNU CPP version 1.36
 /usr/local/lib/gcc-cc1plus /usr/tmp/cca01321.cpp -quiet -dumpbase bug.cc -versi
on -o /usr/tmp/cca01321.s
GNU C++ version 1.36.1 (based on GCC 1.36) (sparc) compiled by GNU C version 1.3
6.
default target switches: -mfpu -mepilogue
 /usr/local/lib/gcc-as -o bug.o /usr/tmp/cca01321.s
 /usr/local/lib/gcc-ld -e start -dc -dp /lib/crt0.o bug.o -lg++ /usr/local/lib/g
cc-gnulib -lc
bug.o: Undefined symbol _SUCCESS referenced from text segment
bug.o: Undefined symbol _SUCCESS referenced from text segment
$

James Clark
jjc@jclark.uucp
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