Re: Known at compile-time

From: tom_usenet (tom_usenet_at_hotmail.com)
Date: 07/20/04


Date: Tue, 20 Jul 2004 14:46:11 +0100

On Tue, 20 Jul 2004 13:11:37 GMT, JKop <NULL@NULL.NULL> wrote:

>John Harrison posted:
>
>> g++ has an extension where array bounds do NOT have to
>constant. Try
>> compiling with the -ansi switch.
>
>
>It still compiles with -ansi.
>
>
>Off to do more experiments...

Try -ansi -pedantic.

GCC has far too many extensions switched on by default for its own
good.

Tom