This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: C and zero-sized arrays - what is the standard?
- From: "Bansidhar Arvind Deshpande - CTD, Chennai." <bansidhara at ctd dot hcltech dot com>
- To: gcc-help at gcc dot gnu dot org
- Cc: Alexandre Courbot <Alexandre dot Courbot at lifl dot fr>
- Date: Thu, 18 Sep 2003 17:53:37 +0530
- Subject: RE: C and zero-sized arrays - what is the standard?
Hi alex,
This is for my knowlege in which kind
of situations you make use of these
type of structure definitions.
Bansidhar A. Deshpande
Telecom Group,
HCL Technologies - CTD.
Chennai.
Mobile : 9840109000
Phone : 044-23728366 Extn : 1324
-----Original Message-----
From: Alexandre Courbot [mailto:Alexandre.Courbot@lifl.fr]
Sent: Thursday, September 18, 2003 5:40 PM
To: gcc-help@gcc.gnu.org
Subject: Re: C and zero-sized arrays - what is the standard?
> Is there a portable way to do this? What is the right form according to
the
> standards?
Forgot to mention I am using gcc 3.3 - as far as I know the [0] form worked
fine with 2.95.
Alex.