<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 1, 2020 at 11:41 PM Angelo Graziosi <<a href="mailto:angelo.g0@libero.it">angelo.g0@libero.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> Il 1 marzo 2020 alle 13.08 luigi scarso ha scritto:<br>
> <br>
> It's ok with<br>
> x86_64-w64-mingw32-gcc (GCC) 7.3-win32 20180312<br>
> only because in ws2tcpip.h I have<br>
> #define InetNtopA inet_ntop<br>
> <br>
> <br>
> Indeed in  luatexdir/luasocket/src/inet.h we have<br>
> <br>
> 25 #if defined( __MINGW32__ ) || defined( __MINGW64__ )<br>
> 26 #define LUASOCKET_INET_PTON<br>
> 27 #endif<br>
> <br>
> 49 #ifdef LUASOCKET_INET_PTON<br>
> 50 const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);<br>
> 51 int inet_pton(int af, const char *src, void *dst);<br>
> 52 #endif<br>
> <br>
> Line 50 now is not ok anymore.<br>
<br>
Have you some idea how to fix this? or just a workaround...<br>
<br>
Ciao,<br>
  Angelo.<br>
</blockquote></div><div><br></div><br clear="all"><div>$> echo "/**/" |x86_64-w64-mingw32-gcc -E -dM -x c -|grep '__GNUC'<br></div><div>#define __GNUC_PATCHLEVEL__ 0<br>#define __GNUC__ 7<br>#define __GNUC_STDC_INLINE__ 1<br>#define __GNUC_MINOR__ 3<br></div><div><br></div><div>so a patch could use </div><div>#define __GNUC__ 7<br></div><div>vs </div><div>#define __GNUC__ 9<br></div><div>(I will send you something off-list)</div><div><br></div><div>But the right way is autotools.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>