git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
858cebe
)
fix warning: unused function 'SigIllHandlerSSE2' [-Wunused-function]
author
Giel van Schijndel
<me@mortis.eu>
Fri, 24 Jun 2011 20:14:15 +0000 (22:14 +0200)
committer
Giel van Schijndel
<me@mortis.eu>
Wed, 13 Jul 2011 03:10:15 +0000 (
05:10
+0200)
Only declare & define SigIllHandlerSSE2 when its used.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
src/cryptopp/cpu.cpp
patch
|
blob
|
history
diff --git
a/src/cryptopp/cpu.cpp
b/src/cryptopp/cpu.cpp
index
3e46804
..
8789dc3
100644
(file)
--- a/
src/cryptopp/cpu.cpp
+++ b/
src/cryptopp/cpu.cpp
@@
-80,7
+80,7
@@
bool CpuId(word32 input, word32 *output)
#endif
}
-#ifndef _MSC_VER
+#if !CRYPTOPP_BOOL_X64 && !defined(_MSC_VER) && defined(__GNUC__)
static jmp_buf s_jmpNoSSE2;
static void SigIllHandlerSSE2(int)
{