emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC 4.9.1 suggests -std=c99


From: Eli Zaretskii
Subject: Re: GCC 4.9.1 suggests -std=c99
Date: Tue, 09 Sep 2014 18:06:54 +0300

> Date: Tue, 09 Sep 2014 07:58:54 -0700
> From: Paul Eggert <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 
> Dmitry Antipov wrote:
> > With GCC 4.9.1 and '--enable-checking --enable-check-lisp-object-type
> > --enable-gcc-warnings':
> >
> > ../../trunk/src/sysdep.c: In function 'str_collate':
> > ../../trunk/src/sysdep.c:3751:2: error: 'for' loop initial declarations
> > are only allowed in C99 or C11 mode
> 
> I don't observe this problem when I build with GCC 4.9.1.

But do we actually want to use such initializations inside a for loop?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]