🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52534

Why can't end, etext, and edata be declared type void?

#52534
From: Jim Mattson
Date: Tue, 30 Jun 1992 22:54
14 lines
1148 bytes
Allowing void variables seems like a reasonable extension to me.
Certainly these three variables are not of type int, as indicated by
my (Solaris 1.01) man page.  They're merely dimensionless boundaries.
If that's not a void type, I guess nothing is.  Besides, it's a pain
to have to cast &etext to (void *) every time I want to compare it
with another (void *). 

--jim
-- 
Jim Mattson			Internet: jmattson@ucsd.edu
UCSD CSE Dept. 0114		Bitnet:	  jmattson@ucsd
9500 Gilman Drive		UUCP:	  ...!uunet!ucsd!jmattson
La Jolla, CA 92093-0114 USA	Voice:    +1 619 534 7371
Technical Details
Message-ID: <35219@sdcc12.ucsd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!dog.ee.lbl.gov!network.ucsd.edu!sdcc12!cs!mattson

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fa37cb5a082e0d21,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-30 10:30:26 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!dog.ee.lbl.gov!network.ucsd.edu!sdcc12!cs!mattson
From: mattson@cs.ucsd.edu (Jim Mattson)
Newsgroups: gnu.gcc.help
Subject: Why can't end, etext, and edata be declared type void?
Message-ID: <35219@sdcc12.ucsd.edu>
Date: 30 Jun 92 22:54:13 GMT
Sender: news@sdcc12.ucsd.edu
Distribution: gnu
Lines: 14
Nntp-Posting-Host: ishin.ucsd.edu