Fix SunCC crash and failed compile for gcm.cpp. This is the hammer - we don't enable any ASM for the source file (Issue 227)
parent
b1f5eb450c
commit
aae1f27dee
4
gcm.cpp
4
gcm.cpp
|
|
@ -12,8 +12,8 @@
|
||||||
#ifndef CRYPTOPP_IMPORTS
|
#ifndef CRYPTOPP_IMPORTS
|
||||||
#ifndef CRYPTOPP_GENERATE_X64_MASM
|
#ifndef CRYPTOPP_GENERATE_X64_MASM
|
||||||
|
|
||||||
// Clang 3.3 integrated assembler crash on Linux. MacPorts GCC compile error. SunCC crash under Sun Studio 12.5
|
// Clang 3.3 integrated assembler crash on Linux. MacPorts GCC compile error. SunCC crash under Sun Studio 12.5 and below.
|
||||||
#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || defined(CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER) || ((__SUNPRO_CC <= 0x5140) && (CRYPTOPP_CXX11 >= 1))
|
#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || defined(CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER) || (__SUNPRO_CC <= 0x5140)
|
||||||
# undef CRYPTOPP_X86_ASM_AVAILABLE
|
# undef CRYPTOPP_X86_ASM_AVAILABLE
|
||||||
# undef CRYPTOPP_X32_ASM_AVAILABLE
|
# undef CRYPTOPP_X32_ASM_AVAILABLE
|
||||||
# undef CRYPTOPP_X64_ASM_AVAILABLE
|
# undef CRYPTOPP_X64_ASM_AVAILABLE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue