Date: Sat, 30 Dec 2017 21:59:08 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r457632 - in head/lang/guile2: . files Message-ID: <1sjc-ylsz-wny@FreeBSD.org> In-Reply-To: <201712301912.vBUJCdtc086342@repo.freebsd.org> (Alexey Dokuchaev's message of "Sat, 30 Dec 2017 19:12:39 %2B0000 (UTC)") References: <201712301912.vBUJCdtc086342@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev <danfe@FreeBSD.org> writes: > ++/* With old GCC, do not override _Static_assert: it conflicts with > ++ #include <complex.h> below. */ > ++#if __clang__ || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6) - GCC check for minor version rejects 5.4, 6.4, 7.2 - Clang check needs defined() to pacify -Wundef with GCC libguile/numbers.c:50:5: warning: "__clang__" is not defined, evaluates to 0 [-Wundef] #if __clang__ || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6) ^~~~~~~~~ $ gcc5 -dM -E -</dev/null | fgrep GNUC #define __GNUC_PATCHLEVEL__ 0 #define __GNUC__ 5 #define __GNUC_STDC_INLINE__ 1 #define __GNUC_MINOR__ 5 $ gcc6 -dM -E -</dev/null | fgrep GNUC #define __GNUC_PATCHLEVEL__ 0 #define __GNUC__ 6 #define __GNUC_STDC_INLINE__ 1 #define __GNUC_MINOR__ 4 $ gcc7 -dM -E -</dev/null | fgrep GNUC #define __GNUC_PATCHLEVEL__ 0 #define __GNUC__ 7 #define __GNUC_STDC_INLINE__ 1 #define __GNUC_MINOR__ 2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1sjc-ylsz-wny>