mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/wfmath: fix build with llvm 16
./MersenneTwister.h:211:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register uint32 s1; ^~~~~~~~~
This commit is contained in:
parent
d577a766bf
commit
b44cb8fae3
1 changed files with 2 additions and 0 deletions
|
@ -12,4 +12,6 @@ USES= libtool pathfix pkgconfig compiler:c++11-lib
|
|||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CXXFLAGS+= -Dregister=
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue