[Bug 234440] math/clrng: fix build with GCC-based architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 27 10:57:17 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234440
Bug ID: 234440
Summary: math/clrng: fix build with GCC-based architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jmd at freebsd.org
Reporter: pkubaj at anongoth.pl
Assignee: jmd at freebsd.org
Flags: maintainer-feedback?(jmd at freebsd.org)
Created attachment 200554
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200554&action=edit
patch
Building with GCC requires adding -Wno-expansion-to-defined to CFLAGS.
src/library/../cl/include/private/Random123/features/compilerfeatures.h:265:5:
error: this use of "defined" may not be portable [-Wexpansion-to-defin
ed]
#if R123_USE_CXX11_CONSTEXPR
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/library/../cl/include/private/philox432.c.h:41,
from src/library/philox432.c:51:
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list