🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

g++1.32 strange behaviour if an include is missing.

#1710
From: Jason Venner
Date: Sat, 25 Feb 1989 22:33
18 lines
875 bytes
I had build a generic type 

genclass 2 String ref String ref CHMap
genclass 2 String ref String ref Map
genclass String def defs

But in my actual code, I forgot the String.h include directive.

The compiler did not complain, it just silently gave up on the file in
question at the first reference to a String.

the assembler then ran, and gave me .o with only the symbol
gcc_compiled in it.

The compiler should complain about such things.

Jason
Technical Details
Message-ID: <18122.604449223@kadmon>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!MTXINU.COM!kadmon!jason

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!MTXINU.COM!kadmon!jason
From: kadmon!jason@MTXINU.COM (Jason Venner)
Newsgroups: gnu.g++.bug
Subject: g++1.32 strange behaviour if an include is missing.
Message-ID: <18122.604449223@kadmon>
Date: 25 Feb 89 22:33:43 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18