Article View: comp.lang.c.moderated
Article #2662Re: language law question
From: Paul Eggert
Date: Thu, 16 Jul 1998 00:00
Date: Thu, 16 Jul 1998 00:00
11 lines
1008 bytes
1008 bytes
lehotsky@tiac.net (Alan Lehotsky) writes:
>Is the following legal?
>I checked ANSI X3.159-1989, and can't find anything that forbids it.
> int dop[][] = {{1,2,3}, {4,5,6}};
Your example is an array of incomplete type, which is not conforming.
See Section 3.1.2.5, page 24, lines 23-24 and footnote 17.
--
comp.lang.c.moderated - clcm@plethora.net
Technical Details
Message-ID:
<clcm-19980716-0012@plethora.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<clcm-19980630-0026@plethora.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,457ad7ff6ee38253 X-Google-Attributes: gid11318c,public X-Google-Thread: 100850,457ad7ff6ee38253 X-Google-Attributes: gid100850,public From: eggert@twinsun.com (Paul Eggert) Subject: Re: language law question Date: 1998/07/16 Message-ID: <clcm-19980716-0012@plethora.net> X-Deja-AN: 372021476 Approved: clc@plethora.net References: <clcm-19980630-0026@plethora.net> Organization: Twin Sun Inc, El Segundo, CA, USA NNTP-Posting-Date: Thu, 16 Jul 1998 09:04:30 CDT Newsgroups: comp.lang.c.moderated,gnu.gcc.help Originator: clcm@plethora.net (comp.lang.c.moderated)