Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 07:54:15AM +, Carl Eugen Hoyos wrote: Michael Niedermayer michaelni at gmx.at writes: the feature_tests.h and the header that contains mreq likely should point at what is the cause The cause is the following check in the relevant header

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: The cause is the following check in the relevant header /usr/include/netinet/in.h: #if !defined(_XPG4_2) || defined(__EXTENSIONS__) We had set __EXTENSIONS__ for many years and I don't remember any reports while we set it. why is

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 12:04:48PM +, Carl Eugen Hoyos wrote: Michael Niedermayer michaelni at gmx.at writes: The cause is the following check in the relevant header /usr/include/netinet/in.h: #if !defined(_XPG4_2) || defined(__EXTENSIONS__) We had set __EXTENSIONS__ for many

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: the feature_tests.h and the header that contains mreq likely should point at what is the cause The cause is the following check in the relevant header /usr/include/netinet/in.h: #if !defined(_XPG4_2) || defined(__EXTENSIONS__) We had set

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-09 Thread Michael Niedermayer
On Thu, Feb 26, 2015 at 05:23:52PM +0100, Carl Eugen Hoyos wrote: Hi! A user reported that the Solaris libc detection has never worked on all installations. Attached patch forces the definition of __EXTENSIONS__ which is needed for network compilation. This fixes the following error:

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-09 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos at ag.or.at writes: A user reported that the Solaris libc detection has never worked on all installations. This should have been ... since 3a5cbc91. Attached patch forces the definition of __EXTENSIONS__ which is needed for network compilation. This fixes the

[FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-02-26 Thread Carl Eugen Hoyos
Hi! A user reported that the Solaris libc detection has never worked on all installations. Attached patch forces the definition of __EXTENSIONS__ which is needed for network compilation. This fixes the following error: libavformat/udp.c:174: error: storage size of 'mreq' isn't known Please