Date: Mon, 1 Oct 2018 00:13:16 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480987 - head/devel/googletest Message-ID: <201810010013.w910DGcM087031@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Oct 1 00:13:16 2018 New Revision: 480987 URL: https://svnweb.freebsd.org/changeset/ports/480987 Log: devel/googletest: unbreak on GCC architectures after r478607 In file included from ./include/gtest/gtest.h:59, from src/gtest_main.cc:31: ./include/gtest/internal/gtest-internal.h:657: error: expected ',' or '...' before '>' token ./include/gtest/internal/gtest-internal.h:657: error: parse error in template argument list ./include/gtest/internal/gtest-internal.h:657: error: default argument missing for parameter 7 of 'static bool testing::internal::TypeParameterizedTest<Fixture, TestSel, Types>::Register(const char*, const testing::internal::CodeLocation&, const char*, const char*, int, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, Types)' In file included from src/gtest_main.cc:31: In file included from ./include/gtest/gtest.h:59: ./include/gtest/internal/gtest-internal.h:947:44: error: no member named 'declval' in namespace 'std' class Iterator = decltype(::std::declval<const C&>().begin()), ~~~~~~~^ ./include/gtest/internal/gtest-internal.h:947:52: error: expected expression class Iterator = decltype(::std::declval<const C&>().begin()), ^ ./include/gtest/internal/gtest-internal.h:948:35: error: no member named 'declval' in namespace 'std' class = decltype(::std::declval<const C&>().end()), ~~~~~~~^ ./include/gtest/internal/gtest-internal.h:948:43: error: expected expression class = decltype(::std::declval<const C&>().end()), ^ ./include/gtest/internal/gtest-internal.h:949:37: error: no member named 'declval' in namespace 'std' class = decltype(++::std::declval<Iterator&>()), ~~~~~~~^ ./include/gtest/internal/gtest-internal.h:949:45: error: 'Iterator' does not refer to a value class = decltype(++::std::declval<Iterator&>()), ^ ./include/gtest/internal/gtest-internal.h:947:17: note: declared here class Iterator = decltype(::std::declval<const C&>().begin()), ^ ./include/gtest/internal/gtest-internal.h:949:54: error: expected expression class = decltype(++::std::declval<Iterator&>()), ^ ./include/gtest/internal/gtest-internal.h:949:56: error: expected expression class = decltype(++::std::declval<Iterator&>()), ^ ./include/gtest/internal/gtest-internal.h:950:36: error: no member named 'declval' in namespace 'std' class = decltype(*::std::declval<Iterator>()), ~~~~~~~^ ./include/gtest/internal/gtest-internal.h:950:44: error: 'Iterator' does not refer to a value class = decltype(*::std::declval<Iterator>()), ^ ./include/gtest/internal/gtest-internal.h:947:17: note: declared here class Iterator = decltype(::std::declval<const C&>().begin()), ^ ./include/gtest/internal/gtest-internal.h:950:54: error: expected expression class = decltype(*::std::declval<Iterator>()), ^ PR: 231835 Submitted by: Piotr Kubaj (based on) Modified: head/devel/googletest/Makefile (contents, props changed) Modified: head/devel/googletest/Makefile ============================================================================== --- head/devel/googletest/Makefile Sun Sep 30 22:28:27 2018 (r480986) +++ head/devel/googletest/Makefile Mon Oct 1 00:13:16 2018 (r480987) @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= google -USES= autoreconf libtool +USES= autoreconf compiler:c++11-lib libtool WRKSRC_SUBDIR= ${PORTNAME} GNU_CONFIGURE= yes # fused-src python tests are only useful for bundling. There's no point in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810010013.w910DGcM087031>