[x265] [PATCH] cmake: Currently, x265 supports only C++98 (refs #199)

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Mon Jan 11 06:57:41 CET 2016


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1452490572 -19800
#      Mon Jan 11 11:06:12 2016 +0530
# Branch stable
# Node ID 7593a5bbb07d9db31c7bf9535ec24dd2cf4bcd4a
# Parent  bcaf4c5c04e927ba027a011dce796b42e4fc089e
cmake: Currently, x265 supports only C++98 (refs #199)

diff -r bcaf4c5c04e9 -r 7593a5bbb07d source/CMakeLists.txt
--- a/source/CMakeLists.txt	Fri Jan 08 11:03:36 2016 +0530
+++ b/source/CMakeLists.txt	Mon Jan 11 11:06:12 2016 +0530
@@ -163,6 +163,7 @@
 if(GCC)
     add_definitions(-Wall -Wextra -Wshadow)
     add_definitions(-D__STDC_LIMIT_MACROS=1)
+    add_definitions(-std=gnu++98)
     if(ENABLE_PIC)
          add_definitions(-fPIC)
     endif(ENABLE_PIC)


More information about the x265-devel mailing list