Date: Tue, 25 Jul 2017 16:11:36 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r321483 - head/lib/msun/tests Message-ID: <201707251611.v6PGBaB7064337@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Tue Jul 25 16:11:36 2017 New Revision: 321483 URL: https://svnweb.freebsd.org/changeset/base/321483 Log: Mask issues with duplicate definitions for __fnstcw, __fldenv, and __fldcw on i386 by ignoring -Wmacro-redefined. This is a bandaid until the code is fixed and will be reverted before MFC. Modified: head/lib/msun/tests/Makefile Modified: head/lib/msun/tests/Makefile ============================================================================== --- head/lib/msun/tests/Makefile Tue Jul 25 15:58:44 2017 (r321482) +++ head/lib/msun/tests/Makefile Tue Jul 25 16:11:36 2017 (r321483) @@ -84,6 +84,10 @@ SRCS.ilogb2_test= ilogb_test.c LIBADD+= m +.if ${MACHINE_CPUARCH} == "i386" +# XXX: __fldcw macro mismatch between fenv.h and ieeefp.h . +CWARNFLAGS.clang+= -Wno-error=macro-redefined +.endif WARNS?= 1 # Copied from lib/msun/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707251611.v6PGBaB7064337>