> > > John Summerfield wrote: > > >> > > 88 struct tradeTable > > 89 { > > 90 long tradeSize, tradeCount; > > 91 struct tradeNode *tradeData[]; > > 92 }; > > 93 struct tradeTable *root=NULL; > > /var/share/pgtest/src/c/yahoo.load.pgc:91: array size missing in `tradeData > ' > > > > gcc 3.01 does what I want - define a template for an area and leave me to w > orry about making sure it's big enough. > > does that work in egcs? gcc-2.7.2?
I don't have either installed. Wasn't 2.7.2 on 4.2 or earlier? > > what about using > > struct tradeNode **tradeData; > > instead? You can reference it later as an array. > > I use the **a instead of *a[] in all my code, > which compiles with gcc-2.7.2, gcc-2.8.1, and > HP's ANSI c (in HPUX-10.20). Doesn't really answer the question though about which is correct. I'm happy to use gcc 3.x if the code's correct. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. _______________________________________________ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list