Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!samsung!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lu!ccjmb From: CCJMB@lure.latrobe.edu.au Newsgroups: comp.sys.mips Subject: compiler bug - structs Message-ID: <5000@lure.latrobe.edu.au> Date: 31 Jan 91 11:24:33 GMT Organization: VAX Cluster, Computer Centre, La Trobe University Lines: 20 Could anyone tell me why the following section of code will not compile on my RISC/OS 4.5.1 when it compiles without error on a VAX and an IBM RISC/6000 ? main() { struct strs_struct { char word1[6]; char word2[6]; } temp = {"hello", "there" }; } It produces the following error message for each field : ccom: Error: struct.c, line 8: no automatic aggregate initialization Thanks in advance Jason (without a sig).