Re: [PATCH] make gl_VISIBILITY to reject unsupported configurations with newer gcc

2021-06-05 Thread Ozkan Sezer
On 6/5/21, Bruno Haible wrote: > Ozkan Sezer wrote: >> >> The attached patch makes gl_VISIBILITY to reject unsupported >> >> configurations >> >> with newer gcc: In its current form, mingw gcc-4.5.4 rejects the >> >> attributes >> >&

Re: [PATCH] make gl_VISIBILITY to reject unsupported configurations with newer gcc

2021-05-25 Thread Ozkan Sezer
>> The attached patch makes gl_VISIBILITY to reject unsupported configurations >> with newer gcc: In its current form, mingw gcc-4.5.4 rejects the attributes >> but gcc-7.5 does not, apparently because the attributes are applied to func >> prototypes without their definitions. Attaching a hidden v

[PATCH] make gl_VISIBILITY to reject unsupported configurations with newer gcc

2021-05-25 Thread Ozkan Sezer
attrib to dummyfunc() makes gcc-7.5 to reject it properly. -- O.S. From 1c7e9ca1f5ad6f2b7dcd65f0bdfefec16ff6ad06 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 25 May 2021 18:47:14 +0300 Subject: [PATCH] m4/visibility.m4 (gl_VISIBILITY): properly reject unsupported configurations with newer

[PATCH] make gl_VISIBILITY to work with -Wmissing-prototypes

2021-02-11 Thread Ozkan Sezer
The attached patch makes gl_VISIBILITY to work correctly when -Wmissing-prototypes is in effect: dummyfunc() used to have no prototypes. -- O.S. From 0996facf5c4a5d61771024d0317f1b08a34df502 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 11 Feb 2021 18:39:56 +0300 Subject: [PATCH

Re: ws2tcpip.h include bug

2010-05-02 Thread Ozkan Sezer
On Sun, May 2, 2010 at 1:14 PM, Bruno Haible wrote: > Hi, > > Ozkan Sezer wrote: >> It is mingw-w64 (http://mingw-w64.sourceforge.net/) where >> the provided ws2tcpip.h header doesn't include winsock2.h. >> The mingw32 header does include it, for convenience a

Re: ws2tcpip.h include bug

2010-05-02 Thread Ozkan Sezer
On Sun, May 2, 2010 at 11:11 AM, Bruno Haible wrote: > Hi, > > Ozkan Sezer wrote: >> The config header checks for windows' ws2tcpip.h have a little bug where >> they do not include winsock2.h before ws2tcpip.h: ws2tcpip.h requires >> winsock2.h to be included

ws2tcpip.h include bug

2010-05-01 Thread Ozkan Sezer
Hello: The config header checks for windows' ws2tcpip.h have a little bug where they do not include winsock2.h before ws2tcpip.h: ws2tcpip.h requires winsock2.h to be included before, a plain AC_CHECK_HEADERS([ws2tcpip.h]) like in current m4/sys_socket_h.m4 may fail to detect the header's presence