🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Marco S Hyman Thu, 13 Jul 1989 06:36
Question regarding const
#279
Author: 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
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