On Mon, May 16, 2011 at 02:59:17PM +0200, Luca Barbato wrote: > On 5/15/11 3:29 PM, Diego Biurrun wrote: >> In -std=c99 mode GCC defines __STRICT_ANSI__ to hide non-ANSI interfaces. >> This causes declarations for some POSIX functions to be omitted from system >> headers, which causes compilation failures. > > Might be useful adding a generic check and append -U__STRICT_ANSI__ when > needed. (e.g. linux-newlib)
I submitted a patch that implements that check, but Mans is not a fan. I don't care how it is implemented as long as we start building out of the box. Mans, please make your choice between this patch and the detection one. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
