🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ron Guilmette Fri, 28 Apr 1989 19:12
BUG in G++ 1.35.0-
#1914
Author: Ron Guilmette
Date: Fri, 28 Apr 1989 19:12
38 lines
1536 bytes
b046 had missed error(s) as follows:
	14: 	test_1 ();			// ERROR
	15: 	base_object.member ();		// ERROR
b046: FAILED


---------------------------------------------------------------------
// Check that an inline function must be defined before it
// is called.

inline void test_1 ();

struct base {
	inline void member ();
};

base base_object;

void test_2 ()
{
	test_1 ();			// ERROR
	base_object.member ();		// ERROR
}

inline void test_1 ()
{
}

inline void base::member ()
{
}
------------------------------------------------------------------------
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/g++ -B/usr/local/src/src/g++/build/sun3/1.35-.0-.0/ -Wall -Wwrite-strings -S -v b046.C
g++ version 1.35.0-.0
 /usr/local/src/src/g++/build/sun3/1.35-.0-.0/cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -Wall -D__HAVE_68881__ -Dmc68020 b046.C /tmp/cca07559.cpp
GNU CPP version 1.35.0-.0
 /usr/local/src/src/g++/build/sun3/1.35-.0-.0/c++ /tmp/cca07559.cpp -quiet -dumpbase b046.C -Wall -Wwrite-strings -noreg -version -o b046.s
GNU C++ version 1.35.0-.0 (68k, MIT syntax) compiled by GNU C version 1.34.1.
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