🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Question regarding const

#279
From: Marco S Hyman
Date: Thu, 13 Jul 1989 06:36
15 lines
875 bytes
While converting some local header files to G++ I changed all
	#define x y
to
	const int x = y;
When including the files into a dummy program to test my changes I noticed
that space is reserved for each of the const values.  None of the values are
used or otherwise referenced.  Is this correct?

G++ version is 1.35.0+ compiled for SysV on an i386 using collect.

--marc
-- 
// Marco S. Hyman
// ...!sun!sfsun!hsfmsh!dumbcat!marc
// sfsun!hsfmsh!dumbcat!marc@sun.com
Technical Details
Message-ID: <8907130636.AA01670@dumbcat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SUN.COM!hsfmsh!dumbcat!marc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SUN.COM!hsfmsh!dumbcat!marc
From: hsfmsh!dumbcat!marc@SUN.COM (Marco S Hyman)
Newsgroups: gnu.g++.bug
Subject: Question regarding const
Message-ID: <8907130636.AA01670@dumbcat.UUCP>
Date: 13 Jul 89 06:36:32 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 15