[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64
From: |
Eli Zaretskii |
Subject: |
Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64 |
Date: |
Thu, 01 Sep 2016 05:37:20 +0300 |
> From: Angelo Graziosi <address@hidden>
> Date: Wed, 31 Aug 2016 21:56:45 +0200
> Cc: address@hidden
>
> As always, Ken's suggestions are right!
>
> Now this test case,
>
> $ cat test.c
> /*#include <stdint.h>*/
> #include <unistd.h>
>
> /*extern intptr_t execve (const char *, char * const *, char * const *);*/
> /*extern intptr_t execve (const char *, char * const [], char * const []);*/
> extern int execve (const char *, char * const *, char * const *);
>
> int main()
> {
> return 0;
> }
>
> builds without warnings with
>
> $ gcc -Wall test.c
Thanks. What happens if you remove the unistd.h inclusion?
- Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Angelo Graziosi, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Eli Zaretskii, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Angelo Graziosi, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Eli Zaretskii, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Angelo Graziosi, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Ken Brown, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Eli Zaretskii, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Angelo Graziosi, 2016/08/31
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64,
Eli Zaretskii <=
- Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64, Eli Zaretskii, 2016/08/31