Hide not-helpful compiler warning in scrypt code

This commit is contained in:
Sebastian Messmer 2017-10-27 04:01:33 +01:00
parent 5f4eb2d868
commit 5dfaf948b7
2 changed files with 3 additions and 2 deletions

1
vendor/README vendored
View File

@ -1,4 +1,5 @@
This directory contains external projects, taken from the following locations: This directory contains external projects, taken from the following locations:
scrypt: http://www.tarsnap.com/scrypt.html 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 googletest: https://github.com/google/googletest/tree/release-1.8.0
spdlog: https://github.com/gabime/spdlog/tree/v0.14.0/include/spdlog spdlog: https://github.com/gabime/spdlog/tree/v0.14.0/include/spdlog

View File

@ -21,8 +21,8 @@
/* Work around LLVM bug. */ /* Work around LLVM bug. */
#ifdef __clang__ #ifdef __clang__
#warning Working around bug in LLVM optimizer //#warning Working around bug in LLVM optimizer
#warning For more details see https://llvm.org/bugs/show_bug.cgi?id=27190 //#warning For more details see https://llvm.org/bugs/show_bug.cgi?id=27190
#define DO_SETJMP _DO_SETJMP(__LINE__) #define DO_SETJMP _DO_SETJMP(__LINE__)
#define _DO_SETJMP(x) __DO_SETJMP(x) #define _DO_SETJMP(x) __DO_SETJMP(x)
#define __DO_SETJMP(x) \ #define __DO_SETJMP(x) \