summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lsh256_avx.cpp3
-rw-r--r--lsh256_sse.cpp3
-rw-r--r--lsh512_avx.cpp3
-rw-r--r--lsh512_sse.cpp3
4 files changed, 12 insertions, 0 deletions
diff --git a/lsh256_avx.cpp b/lsh256_avx.cpp
index a8c0ef23..e700cf88 100644
--- a/lsh256_avx.cpp
+++ b/lsh256_avx.cpp
@@ -27,6 +27,9 @@
# include <x86intrin.h>
#endif
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH256_AVX_FNAME[] = __FILE__;
+
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */
diff --git a/lsh256_sse.cpp b/lsh256_sse.cpp
index 4417142c..692164bc 100644
--- a/lsh256_sse.cpp
+++ b/lsh256_sse.cpp
@@ -32,6 +32,9 @@
# include <x86intrin.h>
#endif
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH256_SSE_FNAME[] = __FILE__;
+
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */
diff --git a/lsh512_avx.cpp b/lsh512_avx.cpp
index 5065967d..56d00d5c 100644
--- a/lsh512_avx.cpp
+++ b/lsh512_avx.cpp
@@ -27,6 +27,9 @@
# include <x86intrin.h>
#endif
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH512_AVX_FNAME[] = __FILE__;
+
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */
diff --git a/lsh512_sse.cpp b/lsh512_sse.cpp
index 0eb10293..af230c7b 100644
--- a/lsh512_sse.cpp
+++ b/lsh512_sse.cpp
@@ -31,6 +31,9 @@
# include <x86intrin.h>
#endif
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH512_SSE_FNAME[] = __FILE__;
+
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */