From 5dfaf948b70b052b021d7b608ba32cdf8b116170 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Fri, 27 Oct 2017 04:01:33 +0100 Subject: [PATCH] Hide not-helpful compiler warning in scrypt code --- vendor/README | 1 + vendor/scrypt/scrypt-1.2.1/scrypt/libcperciva/util/getopt.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vendor/README b/vendor/README index db2cb420..0d007909 100644 --- a/vendor/README +++ b/vendor/README @@ -1,4 +1,5 @@ This directory contains external projects, taken from the following locations: scrypt: http://www.tarsnap.com/scrypt.html + - changed: commented out compiler warnings about a workaround for a llvm bug googletest: https://github.com/google/googletest/tree/release-1.8.0 spdlog: https://github.com/gabime/spdlog/tree/v0.14.0/include/spdlog diff --git a/vendor/scrypt/scrypt-1.2.1/scrypt/libcperciva/util/getopt.h b/vendor/scrypt/scrypt-1.2.1/scrypt/libcperciva/util/getopt.h index 5ed3145c..5f75679d 100644 --- a/vendor/scrypt/scrypt-1.2.1/scrypt/libcperciva/util/getopt.h +++ b/vendor/scrypt/scrypt-1.2.1/scrypt/libcperciva/util/getopt.h @@ -21,8 +21,8 @@ /* Work around LLVM bug. */ #ifdef __clang__ -#warning Working around bug in LLVM optimizer -#warning For more details see https://llvm.org/bugs/show_bug.cgi?id=27190 +//#warning Working around bug in LLVM optimizer +//#warning For more details see https://llvm.org/bugs/show_bug.cgi?id=27190 #define DO_SETJMP _DO_SETJMP(__LINE__) #define _DO_SETJMP(x) __DO_SETJMP(x) #define __DO_SETJMP(x) \