[Pkg-deepin-devel] Bug#1038703: dtkcore: FTBFS: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported

Dmitry Shachnev mitya57 at debian.org
Tue Jun 20 18:33:22 BST 2023


Control: tags -1 + patch

On Tue, Jun 20, 2023 at 12:52:53PM +0300, Dmitry Shachnev wrote:
> [...]
> 
> googletest 1.13 was uploaded to unstable recently, and it dropped support
> for C++ versions less than C++14:
> 
> https://github.com/google/googletest/releases/tag/v1.13.0
> 
> But dtkcore sets CONFIG += c++11 in its .pro files.

Attaching a patch that fixes the build failure.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests_dont_force_cxx11.patch
Type: text/x-diff
Size: 1276 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20230620/fd89ec30/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20230620/fd89ec30/attachment.sig>


More information about the Pkg-deepin-devel mailing list