Article View: comp.sys.ibm.pc.rt
Article #459Re: AIX C:constant expr in array decl breaks cc
From: Oleg Kiselev
Date: Thu, 19 Oct 1989 09:03
Date: Thu, 19 Oct 1989 09:03
13 lines
1074 bytes
1074 bytes
In article <184@eliza.edvvie.at> johnny@edvvie.at (Johann Schweigl) writes:
>Is there *formally* anything wrong with the following global declaration:
>void (*foo[2][0 + 1 + 1 + 1])() = {{ fun1, fun2, fun3 },{ fun4, fun5, fun6}};
>AIX C will not compile this but issue an error saying a '}' is missing on
>both initialization lines.
This works on AIX/370 and AIX/PS2.
--
"No regrets, no apologies" Ronald Reagan
Oleg Kiselev ARPA: lcc.oleg@seas.ucla.edu, oleg@gryphon.COM
(213)337-5230 UUCP: [world]!{ucla-se|gryphon}!lcc!oleg
Technical Details
Message-ID:
<21080@gryphon.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ginosko!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!gryphon!olegReferences:
<184@eliza.edvvie.at>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ginosko!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!gryphon!oleg From: oleg@gryphon.COM (Oleg Kiselev) Newsgroups: comp.sys.ibm.pc.rt,comp.lang.c,comp.unix.aix Subject: Re: AIX C:constant expr in array decl breaks cc Keywords: AIX C ANSI Message-ID: <21080@gryphon.COM> Date: 19 Oct 89 09:03:48 GMT References: <184@eliza.edvvie.at> Reply-To: oleg@gryphon.COM (Oleg Kiselev) Organization: HASA Lines: 13