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 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 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 _XPG4_

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 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

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

2015-03-10 Thread Carl Eugen Hoyos
Michael Niedermayer 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 __EXTENSIONS__ f

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 err

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

2015-03-09 Thread Carl Eugen Hoyos
Carl Eugen Hoyos 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 fol

[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 com