Re: Known at compile-time
From: tom_usenet (tom_usenet_at_hotmail.com)
Date: 07/20/04
- Next message: Brandon Roberts: "Linux & C++"
- Previous message: tom_usenet: "Re: calloc.... Why?"
- In reply to: JKop: "Re: Known at compile-time"
- Next in thread: JKop: "Re: Known at compile-time"
- Reply: JKop: "Re: Known at compile-time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Brandon Roberts: "Linux & C++"
- Previous message: tom_usenet: "Re: calloc.... Why?"
- In reply to: JKop: "Re: Known at compile-time"
- Next in thread: JKop: "Re: Known at compile-time"
- Reply: JKop: "Re: Known at compile-time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]