<p dir="ltr">Hello,</p>
<p dir="ltr">Le 27 août 2016 17:01, Janne Grunau <janne-vlc@jannau.net> a écrit :<br>
><br>
> On 2016-08-13 18:48:47 +0200, Janne Grunau wrote:<br>
> > Fixes "_FORTIFY_SOURCE redefined" warnings in every file which includes<br>
> > config.h if _FORTIFY_SOURCE is predefined by the toolchain.</p>
<p dir="ltr">Broken toolchain, fix toolchain. Nack.</p>
<p dir="ltr">The _whole_ point of _FORTIFY_SOURCE is to be able to set it in the program or packaging rule. The toolchain has no business setting it, as any other "feature" macro.</p>
<p dir="ltr">> > ---<br>
> > configure.ac | 3 ++-<br>
> > 1 file changed, 2 insertions(+), 1 deletion(-)<br>
> > <br>
> > diff --git a/configure.ac b/configure.ac<br>
> > index 09b3a33..8f055c1 100644<br>
> > --- a/configure.ac<br>
> > +++ b/configure.ac<br>
> > @@ -46,7 +46,8 @@ dnl<br>
> > AC_PROG_CC_C99<br>
> > AC_USE_SYSTEM_EXTENSIONS<br>
> > VLC_PROG_CC_C11<br>
> > -AC_DEFINE([_FORTIFY_SOURCE], 2, [Define to 2 to get glibc warnings.])<br>
> > +AC_CHECK_DECL(_FORTIFY_SOURCE, ,<br>
> > + AC_DEFINE([_FORTIFY_SOURCE], 2, [Define to 2 to get glibc warnings]),)<br>
> > AC_DEFINE([_FILE_OFFSET_BITS], 64, [Define to 64 for large files support.])<br>
> > AH_TOP([<br>
> > #ifndef _REENTRANT<br>
><br>
> ping<br>
><br>
> Janne<br>
><br>
> _______________________________________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> https://mailman.videolan.org/listinfo/vlc-devel<br></p>