Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 00:17:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r480988 - branches/2018Q3/devel/googletest
Message-ID:  <201810010017.w910HxPR087342@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Oct  1 00:17:59 2018
New Revision: 480988
URL: https://svnweb.freebsd.org/changeset/ports/480988

Log:
  MFH: r480987
  
  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)
  Approved by:	ports-secteam blanket

Modified:
  branches/2018Q3/devel/googletest/Makefile
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/devel/googletest/Makefile
==============================================================================
--- branches/2018Q3/devel/googletest/Makefile	Mon Oct  1 00:13:16 2018	(r480987)
+++ branches/2018Q3/devel/googletest/Makefile	Mon Oct  1 00:17:59 2018	(r480988)
@@ -16,7 +16,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?201810010017.w910HxPR087342>