🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by D'Souza Desmond Mon, 16 Oct 1989 18:16
g++ 1.35.1- and overloaded functions bug
#534
Author: D'Souza Desmond
Date: Mon, 16 Oct 1989 18:16
29 lines
1250 bytes
g++ 1.35.1- will not compile the following overloaded functions:


// ======== SOURCE FILE : j1.cc ============


extern void pr (int);
extern void pr (char*);
extern void pr (char);

// end SOURCE FILE

// g++ messages:


optima:  g++ -v -g -o j1.o j1.cc

g++ version 1.35.1-
 /usr/local/gnu/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ j1.cc /tmp/cca04352.cpp
GNU CPP version 1.35
 /usr/local/gnu/lib/gcc-cc1plus /tmp/cca04352.cpp -quiet -dumpbase j1.cc -noreg -version -G -o /tmp/cca04352.s
GNU C++ version 1.35.1- (sparc) compiled by GNU C version 1.35.
j1.cc:3: conflicting types for `void pr (char *)'
j1.cc:4: conflicting types for `void pr (char)'

Compilation finished at Mon Oct 16 13:12:22

  -- D'Souza Desmond
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