[FFmpeg-devel] [PATCH] configure: use c++98 for c++ files

Michael Niedermayer michael at niedermayer.cc
Sun Jun 26 23:17:11 CEST 2016


On Sun, Jun 26, 2016 at 11:10:00PM +0200, Michael Niedermayer wrote:
> On Sun, Jun 26, 2016 at 04:44:40PM -0400, Rick Kern wrote:
> > Use c++98 standard instead of c++11.
> > 
> > Signed-off-by: Rick Kern <kernrj at gmail.com>
> > ---
> >  configure | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/configure b/configure
> > index 19aea61..76d2d27 100755
> > --- a/configure
> > +++ b/configure
> > @@ -4529,7 +4529,7 @@ fi
> >  
> >  add_cppflags -D_ISOC99_SOURCE
> >  add_cxxflags -D__STDC_CONSTANT_MACROS
> > -add_cxxflags -std=c++11
> > +add_cxxflags -std=c++98
> 
> should this not be check_cxxflags ?

either way add_cxxflags -std=c++98 is better than before, so ill apply
and backport your patch unless you are quicker

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160626/d2de4fd7/attachment.sig>


More information about the ffmpeg-devel mailing list