star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit 5c9de7f0fd15c2c87cefb7692117adba8a5397d7
parent 5505e497a6d5557c891a9716c721448d524940a4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 13 Oct 2022 09:51:04 +0200

Disable random123 library warnings

Diffstat:
Mconfig.mk | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -40,6 +40,9 @@ WFLAGS =\ FLAGS = -O3 -pedantic -fPIC -fvisibility=hidden -fstrict-aliasing \ -Wl,--no-undefined $(WFLAGS) $(CPPFLAGS) CFLAGS = $(FLAGS) -std=c89 -Wmissing-prototypes -CXXFLAGS = $(FLAGS) -std=c++11 $$([ ! "$(BUILD_R123_AES)" = 0 ] && echo -maes) + +# Disable warnings emitted by Random123 +CXXFLAGS =$(FLAGS) -std=c++11 -Wno-deprecated-copy -Wno-expansion-to-defined\ + $$([ ! "$(BUILD_R123_AES)" = 0 ] && echo -maes) LDFLAGS = -shared # Linker options