This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Non-constant expression allowed to dimension array declarations
- To: gcc at gcc dot gnu dot org
- Subject: Re: Non-constant expression allowed to dimension array declarations
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Thu, 28 Jun 2001 04:46:09 -0500 (CDT)
- Cc: rodney dot leadbeater at convergys dot com
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
In article <41FBBB1B17AFD4119ECE000347088836F5A917@wbnsmail.gtl.com> you write:
> I was amazed to see that gcc allows the following. [...]
I am amazed that people fail to read the manual. ;-)
Try adding:
-std=c89 -pedantic
You might also enjoy adding:
-W -Wall
Regards,
Loren