🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6087

Re: const in latest draft

#6087
From: Doug Gwyn
Date: Mon, 05 Jun 1989 11:50
13 lines
1048 bytes
In article <16428@gryphon.COM> sarima@gryphon.COM (Stan Friesen) writes:
>	In the User's Guide to Lattice 3.4, in section 5.3.5, it states:
>"ANSI has reserved 'const' to describe an object that never changes *within*
>*the* *module* that declares it as 'const',...".

I think the first problem is that this is an over-simplified description
of what the semantics of the "const" type qualifier.

Perhaps Lattice's interpretation was a consequence of the admittedly
confusing specification for type qualifiers in earlier drafts of the
standard.

Certainly a non-volatile const object can be allocated to ROM.
Technical Details
Message-ID: <10362@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!uflorida!haven!adm!smoke!gwyn
References: <16259@gryphon.COM> <10339@smoke.BRL.MIL> <16428@gryphon.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!uflorida!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: const in latest draft
Message-ID: <10362@smoke.BRL.MIL>
Date: 5 Jun 89 11:50:25 GMT
References: <16259@gryphon.COM> <10339@smoke.BRL.MIL> <16428@gryphon.COM>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 13