🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3664

Re: are zero lengthed arrays allowed?

#3664
From: Clive D.W. Feather
Date: Sun, 06 Aug 1995 11:35
12 lines
929 bytes
In article <DCIIHw.97u@agora.rdrop.com>,
David Cary <cary@agora.rdrop.com> wrote:
> Doesn't a ANSI-compliant compiler have the right to reshuffle a structure ?

In a word: no.

[In ISO Standard C, anyway; I say nothing about C++.]

-- 
Clive D.W. Feather                       | If you lie to the compiler,
clive@demon.net        (work, preferred) | it will get its revenge.
clive@stdc.demon.co.uk (home)            |   - Henry Spencer
Technical Details
Message-ID: <DCw06H.Mxr@stdc.demon.co.uk>
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
References: <1995Jul26.032716.22158@sq.sq.com> <3v6qt2$sk3@newsbf02.news.aol.com> <DCIIHw.97u@agora.rdrop.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
From: clive@stdc.demon.co.uk (Clive D.W. Feather)
Newsgroups: comp.std.c,comp.std.c++,gnu.gcc.help,gnu.g++.help
Subject: Re: are zero lengthed arrays allowed?
Date: Sun, 6 Aug 1995 11:35:04 GMT
Organization: Demon Internet Limited (personal account)
Message-ID: <DCw06H.Mxr@stdc.demon.co.uk>
References: <1995Jul26.032716.22158@sq.sq.com> <3v6qt2$sk3@newsbf02.news.aol.com> <DCIIHw.97u@agora.rdrop.com>
X-NNTP-Posting-Host: stdc.demon.co.uk