summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-10 15:18:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-10 15:18:36 (GMT)
commit2d27c96b7eebdceae93e88adf3ca88ebbc6efab5 (patch)
tree6810adb7c7d693252fa5b1c7e4490bf5634255e1
parentf608fa90db6aa15217b86bf87e9d3c9358373195 (diff)
downloadtcl-2d27c96b7eebdceae93e88adf3ca88ebbc6efab5.zip
tcl-2d27c96b7eebdceae93e88adf3ca88ebbc6efab5.tar.gz
tcl-2d27c96b7eebdceae93e88adf3ca88ebbc6efab5.tar.bz2
tommath_private.h : Remove special C4146 handling: already done in tclWinPort.h too.
tcl.pc.in: Make sure that libtommath >= 1.2.0
-rw-r--r--libtommath/tommath_private.h4
-rw-r--r--unix/tcl.pc.in2
2 files changed, 1 insertions, 5 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h
index 072d603..5123f53 100644
--- a/libtommath/tommath_private.h
+++ b/libtommath/tommath_private.h
@@ -276,10 +276,6 @@ MP_DEPRECATED(s_mp_reverse) void bn_reverse(unsigned char *s, int len);
MP_ZERO_DIGITS(a->dp + a->used, a->alloc - a->used); \
}
-#ifdef _MSC_VER
-/* Prevent false positive: unary minus operator applied to unsigned type, result still unsigned */
-#pragma warning(disable: 4146)
-#endif
#define MP_SET_SIGNED(name, uname, type, utype) \
void name(mp_int * a, type b) \
{ \
diff --git a/unix/tcl.pc.in b/unix/tcl.pc.in
index ca932d2..a343707 100644
--- a/unix/tcl.pc.in
+++ b/unix/tcl.pc.in
@@ -11,7 +11,7 @@ Name: Tool Command Language
Description: Tcl is a powerful, easy-to-learn dynamic programming language, suitable for a wide range of uses.
URL: http://www.tcl.tk/
Version: @TCL_VERSION@@TCL_PATCH_LEVEL@
-Requires.private: zlib >= 1.2.3
+Requires.private: zlib >= 1.2.3, libtommath >= 1.2.0
Libs: -L${libdir} @TCL_LIB_FLAG@ @TCL_STUB_LIB_FLAG@
Libs.private: @TCL_LIBS@
Cflags: -I${includedir}