[gnu.gcc] consts

jlv@cs.brown.edu (Jeff Vogel) (02/22/90)

I just started using gcc because I want the ANSI C advantages.

One thing I noticed is that you can't seem to be able to do this



const int MAX
int a[MAX];

gcc complains that it is a variable indexed definition of array a.
Do I still have to use a #define even though I am using

  Jeff Vogel                      |  PO Box 5173        
  jlv@cs.brown.edu                |  Brown University    
  uunet!brunix!jlv                |  Providence, RI 02912
  jlv@browncs.bitnet              |  401-863-7637, 401-421-6496