Xref: utzoo comp.sys.ibm.pc.rt:1101 comp.lang.c:23015 comp.unix.aix:160 Path: 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 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