Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2016 11:56:04 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301442 - head/contrib/libucl/src
Message-ID:  <201606051156.u55Bu4KQ069303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jun  5 11:56:03 2016
New Revision: 301442
URL: https://svnweb.freebsd.org/changeset/base/301442

Log:
  Fix build with external gcc
  
  Completly disable some extra optimisation for very recent gcc.
  They would require some updated in the runtime which we do not have yet

Modified:
  head/contrib/libucl/src/mum.h

Modified: head/contrib/libucl/src/mum.h
==============================================================================
--- head/contrib/libucl/src/mum.h	Sun Jun  5 10:48:27 2016	(r301441)
+++ head/contrib/libucl/src/mum.h	Sun Jun  5 11:56:03 2016	(r301442)
@@ -69,9 +69,11 @@ typedef unsigned __int64 uint64_t;
 #endif
 #endif
 
+#if 0
 #if defined(__GNUC__) && ((__GNUC__ == 4) &&  (__GNUC_MINOR__ >= 9) || (__GNUC__ > 4))
 #define _MUM_FRESH_GCC
 #endif
+#endif
 
 #if defined(__GNUC__) && !defined(__llvm__) && defined(_MUM_FRESH_GCC)
 #define _MUM_ATTRIBUTE_UNUSED  __attribute__((unused))



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