[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 18:21:55 +0300 |
> From: address@hidden
> Date: Wed, 29 May 2013 22:15:58 +0900
>
> Sean Sieger <address@hidden> writes:
> > In file included from w32.c:33:0:
> > ../nt/inc/sys/time.h:41:62: error: conflicting types for 'restrict'
> > ../nt/inc/sys/time.h:41:35: note: previous definition of 'restrict'
> > was here
> > make[3]: *** [oo-spd/i386/w32.o] Error 1
> :
>
> When I try to build with non-Posix build method (run configure.bat and
> make bootstrap under nt/ directory), got same error.
>
> gcc version is TDM-GCC 4.7.1 32bit
> (http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.7.1-2.exe/download).
I built that version with GCC 4.7.2 from mingw.org, and didn't get the
problem.
> It looks like that 'restrict' in the prototype of gettimeofday() is
> considered as variable name.
That part is clear from the error message. What is less clear is why
does that happen. 'restrict' is a keyword in C, so unless the
compiler has a bug, I don't understand why it barfs. Maybe I'm
missing something here.
If you type this:
cpp -dM < nul | fgrep restrict
what do you see?
- windows build failure, Sean Sieger, 2013/05/26
- Re: windows build failure, Eli Zaretskii, 2013/05/27
- Re: windows build failure, Óscar Fuentes, 2013/05/27
- windows build failure, Sean Sieger, 2013/05/28
- Re: windows build failure, Eli Zaretskii, 2013/05/28
- Re: windows build failure, rzl24ozi, 2013/05/29
- Re: windows build failure,
Eli Zaretskii <=
- 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, 2013/05/29
- Re: windows build failure, rzl24ozi, 2013/05/29
- Re: windows build failure, Eli Zaretskii, 2013/05/30