[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: |
Thu, 30 May 2013 05:46:40 +0300 |
> Date: Wed, 29 May 2013 14:27:28 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden
>
> On 05/29/13 13:28, Eli Zaretskii wrote:
> > If we do this somewhere (e.g., in nt/config.nt):
> >
> > #define restrict __restrict
> >
> > would this solve the problem even when -std=gnu99 is not in use?
>
> It might, yes. But it's probably better not to.
>
> If 'configure' is using different CFLAGS than 'make' is using,
> there are likely other screwups, some of which could well cause
> subtle runtime failures. It could well be a good thing that
> the messed-up build is failing so reliably.
This problem was reported for the build that does not use the Posix
configure script, but the old Windows makefile.w32-in files. Those do
not probe the compiler like the configure script does, and they use
-std=gnu99 only in the non-optimized build.
So I think using __restrict is the right cure for that situation, and
it should be good enough, since that way of building is deprecated.
Thanks.
- Re: windows build failure, (continued)
- Re: windows build failure, Eli Zaretskii, 2013/05/28
- Re: windows build failure, rzl24ozi, 2013/05/29
- Re: windows build failure, Eli Zaretskii, 2013/05/29
- Re: windows build failure, Óscar Fuentes, 2013/05/29
- Re: windows build failure, Eli Zaretskii, 2013/05/29
- Re: windows build failure, Paul Eggert, 2013/05/29
- Re: windows build failure, Eli Zaretskii, 2013/05/29
- Re: windows build failure, Paul Eggert, 2013/05/29
- Re: windows build failure, Eli Zaretskii, 2013/05/29
- Re: windows build failure, Paul Eggert, 2013/05/29
- Re: windows build failure,
Eli Zaretskii <=
- Re: windows build failure, rzl24ozi, 2013/05/29
- Re: windows build failure, Eli Zaretskii, 2013/05/30
- Re: windows build failure, rzl24ozi, 2013/05/30
- Re: windows build failure, Eli Zaretskii, 2013/05/31
- MinGW64 (32bit) build with posix configure (Re: windows build failure), rzl24ozi, 2013/05/31
- Re: MinGW64 (32bit) build with posix configure (Re: windows build failure), Eli Zaretskii, 2013/05/31
- Re: MinGW64 (32bit) build with posix configure (Re: windows build failure), rzl24ozi, 2013/05/31
Re: windows build failure, cg, 2013/05/29