Default warnings and useless extensions (e.g. arithmetic on void *)

Jakub Jelinek jakub@redhat.com
Tue Jun 10 12:46:00 GMT 2008


On Tue, Jun 10, 2008 at 02:29:24PM +0200, Vincent Lefevre wrote:
> On 2008-06-10 06:45:43 -0400, Tim Prince wrote:
> > long long is an extension, if you don't specify -std=c99.
> 
> I know that. But I can't use -std=c99 because it doesn't work with
> old gcc versions.

It works with old, even very old gcc versions.  Only doesn't work with
prehistoric ones.  Already GCC 3.0 and even 2.96-RH supported -std=c99.

	Jakub



More information about the Gcc mailing list