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

Reply via email to