From: Uwe Hermann Date: Fri, 4 Nov 2016 22:46:08 +0000 (+0100) Subject: Workaround for a gcc 6.2.1 bug causing boost-related build issues. X-Git-Tag: pulseview-0.4.0~242 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f22092918bd17b3e138079c7be70d34d9d15c0a0;p=pulseview.git Workaround for a gcc 6.2.1 bug causing boost-related build issues. Patch provided by Aurélien Jacobs, thanks a lot! This fixes bug #863. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d84f0427..e101f96a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -396,6 +396,7 @@ add_definitions(${QT_DEFINITIONS} -DQT_NO_KEYWORDS) add_definitions(-D__STDC_LIMIT_MACROS) add_definitions(-Wall -Wextra) add_definitions(-std=c++11) +add_definitions(-fext-numeric-literals) if(ENABLE_DECODE) add_definitions(-DENABLE_DECODE)