Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!bloom-beacon!gatech!bbn!bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.lang.c Subject: Re: arrays... Message-ID: <700@fig.bbn.com> Date: 3 May 88 17:01:40 GMT References: <5773@sigi.Colorado.EDU> <835@srs.UUCP> Organization: BBN Laboratories Inc., Cambridge MA Lines: 22 >Why can't I do this: >void foo(const int *bar); >main() >{ > foo({1,2,3,4}); >} Others will point out the reason. If you want it really badly, tho, check out the GNU compiler. For information about GNU, send to info-gnu-request@prep.ai.mit.edu mit-eddie!mit-prep!info-gnu-request The GNU compiler supports K&R, varying levels of ANSI compatibility, and stuff like anonymous aggregate constructors. It's not trivial to use or port, but it does run on lots of machines, and ease-of-use is just a matter of time. Careful readers will note I don't call it the GNU _C_ compiler, because of gunk like the above. :-) /r$ -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.