Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2018 15:13:15 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Rene Ladan <rene@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r484041 - head/devel/heimdall
Message-ID:  <20181104151315.GA61162@FreeBSD.org>
In-Reply-To: <201811041345.wA4DjCGN025777@repo.freebsd.org>
References:  <201811041345.wA4DjCGN025777@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 04, 2018 at 01:45:12PM +0000, Rene Ladan wrote:
> New Revision: 484041
> URL: https://svnweb.freebsd.org/changeset/ports/484041
> 
> Log:
>   devel/heimdal1: always use GCC now after removing support for 10.X
>   
>   Submitted by:	gerald, ehaupt
>   Approved by:	maintainer (ehaupt)
> 
> ...
> @@ -15,6 +15,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
>  
>  USES=		cmake
>  USE_GITHUB=	yes
> +# does not compile with clang 6.0.0
> +USE_GCC=	yes

I don't understand, why not just fix the code by removing offending part:

--- libpit/source/libpit.h.orig 2017-05-11 18:34:25 UTC
+++ libpit/source/libpit.h
@@ -25,14 +25,6 @@
 #pragma warning(disable : 4996)
 #endif

-#if (!(defined _MSC_VER) || (_MSC_VER < 1700))
-
-#ifndef nullptr
-#define nullptr 0
-#endif
-
-#endif
-
 // C/C++ Standard Library
 #include <cstring>
 #include <string>

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181104151315.GA61162>