🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by fox Fri, 01 Dec 1989 17:30
operator?: generates a bad symbol
#662
Author: fox
Date: Fri, 01 Dec 1989 17:30
26 lines
914 bytes
I compiled the following program, with g++-1.36.1 and ran gdb-3.4
on it (the machine was a sun-4.)  When I tried to set a breakpoint
on the printf statement, I get the message

	(gdb) Reading in symbols for test.cc...Invalid symbol data:
		 unrecognized type-code `.' at symtab pos 21.

Here is the program:

	#include <stdio.h>
	
	class Object {
	public:
	  Object& operator?:(Object& a, Object& b);
	};
	
	main()
	{
	  printf("Hello, world.\n");
	}

Thanks,

David Fox
fox@allegra.att.com
fox@cs.columbia.edu
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