emacs-devel
[Top][All Lists]
Advanced

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

Re: windows build failure


From: Eli Zaretskii
Subject: Re: windows build failure
Date: Wed, 29 May 2013 20:20:40 +0300

> Date: Wed, 29 May 2013 10:02:40 -0700
> From: Paul Eggert <address@hidden>
> 
> On 05/29/13 08:21, Eli Zaretskii wrote:
> > 'restrict' is a keyword in C, so unless the
> > compiler has a bug
> 
> ... or unless the compiler is operating in pre-C99 mode,
> which is the default even with GCC 4.8.0.  The 'restrict'
> keyword was introduced in C99.  'configure'
> should be figuring this out, and adding the option
> -std=gnu11 or whatever, but evidently this isn't working
> for your correspondents.  Possibly the .h file is
> being configured as if C99 were supported, but the compiler
> itself is running in pre-C99 mode.

What could cause such a discrepancy, when the configure script runs
the same compiler that is used in compilation?

Also, I see that the configure script puts -std=gnu99 on the GCC
command line, which should fix this, right?



reply via email to

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