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: Angelo Graziosi
Subject: Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64
Date: Wed, 31 Aug 2016 19:40:50 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0



Il 31/08/2016 17:42, Eli Zaretskii ha scritto:

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?


Really I already did this with this simple test case:

$ cat test.c
#include <stdint.h>

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

int main()
{
  return 0;
}

$ gcc test.c
test.c:4:17: warning: conflicting types for built-in function ‘execve’
 extern intptr_t execve (const char *, char * const [], char * const []);


but always the warning... I doubt things change modifying ms-w32.h..

Angelo



reply via email to

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