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

Richard Kern kernrj at gmail.com
Sun Jun 26 23:22:01 CEST 2016


> On Jun 26, 2016, at 5:10 PM, Michael Niedermayer <michael at niedermayer.cc> 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 ?

Some c++ standard needs to be there to override the -std=c99 that gets pulled in from CFLAGS.

> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Democracy is the form of government in which you can choose your dictator
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list