emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 31 Aug 2016 18:42:01 +0300

> Cc: address@hidden
> From: Angelo Graziosi <address@hidden>
> Date: Wed, 31 Aug 2016 17:01:08 +0200
> 
> > Please show at least one such warning in its entirety.  I don't have
> > GCC 6.x here, so I cannot know what does it not like in our prototype.
> 
> Oh yes, this is an example
> 
> make[2]: ingresso nella directory "/tmp/work/emacs-master/lib"
>    CC       acl-errno-valid.o
>    CCLD     ddeclient.exe
> In file included from ../src/conf_post.h:32:0,
> 
>                   from ../src/config.h:1926,
> 
>                   from acl-errno-valid.c:20:
> 
> C:/msys64/tmp/work/emacs-master/nt/inc/ms-w32.h:296:17: warning: 
> conflicting types for built-in function 'execve'
> 
>   extern intptr_t execve (const char *, char * const *, char * const *);
> 
>                   ^~~~~~
> 

Sigh... so unhelpful.

If you change the prototype in ms-w32.h to say this:

  extern intptr_t execve (const char *, char * const [], char * const []);

do these warnings go away?



reply via email to

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