This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix up vla, vm and [*] semantics for C
Mike Stump wrote:
> On May 15, 2006, at 3:30 PM, Mark Mitchell wrote:
>> To be pedantic, we would ideally say "field" in C and "data member" in
>> C++. However, C++ programmers tend to understand "field" just fine, so
>> for error messages from common code I would say "field".
>
> Not common (:-(), and I choose the wording I did because that standard
> says:
>
> A member of a structure or union may have any object type other than a
> variably
> modified type.
>
> field doesn't occur in the C99 language standard that I could find? I
> tend to prefer language and terminology from the standard...
Yes, me too; I apparently incorrectly recalled the C standard using
"field". I don't have C89 handy, but C99 does say "member", so I agree;
let's use that.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713