🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #662

operator?: generates a bad symbol

#662
From: 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
Technical Details
Message-ID: <8912012351.AA10177@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!allegra.att.com!fox

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!allegra.att.com!fox
From: fox@allegra.att.com
Newsgroups: gnu.g++.bug
Subject: operator?: generates a bad symbol
Message-ID: <8912012351.AA10177@life.ai.mit.edu>
Date: 1 Dec 89 17:30:20 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 26