[Pkg-deepin-devel] Bug#1041080: deepin-calculator FTBFS with googletest 1.13.0
Adrian Bunk
bunk at debian.org
Fri Jul 14 18:28:43 BST 2023
Source: deepin-calculator
Version: 5.7.21-1
Severity: serious
Tags: ftbfs trixie sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/deepin-calculator.html
...
In file included from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:64,
from /build/1st/deepin-calculator-5.7.21/tests/src/control/ut_basickeypad.h:4,
from /build/1st/deepin-calculator-5.7.21/tests/src/control/ut_basickeypad.cpp:1:
/usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
270 | #error C++ versions less than C++14 are not supported.
| ^~~~~
...
This can be fixed by setting CMAKE_CXX_STANDARD to 14
in both CMakeLists.txt and tests/CMakeLists.txt
More information about the Pkg-deepin-devel
mailing list