summaryrefslogtreecommitdiffstats
path: root/tkimg/libjpeg/DANGER
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 20:28:26 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 20:28:26 (GMT)
commitb184baa1234c2143e488d1796ae98afab118b891 (patch)
tree686b0a47b272296205c7fa2bc789f62a03d20df6 /tkimg/libjpeg/DANGER
parentf7560d0a451a793441216d76eb4d9475aab61740 (diff)
parent5aad878400425d3af44433a47c13824385689e1d (diff)
downloadblt-b184baa1234c2143e488d1796ae98afab118b891.zip
blt-b184baa1234c2143e488d1796ae98afab118b891.tar.gz
blt-b184baa1234c2143e488d1796ae98afab118b891.tar.bz2
Merge commit '5aad878400425d3af44433a47c13824385689e1d' as 'tkimg'
Diffstat (limited to 'tkimg/libjpeg/DANGER')
-rw-r--r--tkimg/libjpeg/DANGER17
1 files changed, 17 insertions, 0 deletions
diff --git a/tkimg/libjpeg/DANGER b/tkimg/libjpeg/DANGER
new file mode 100644
index 0000000..6b9b787
--- /dev/null
+++ b/tkimg/libjpeg/DANGER
@@ -0,0 +1,17 @@
+
+Note:
+
+The EXTERN macro defined by "tcl.h" and the EXTERN() macro defined by
+"jmorecfg.h" are in conflict with each other. Even more, "jmorecfg.h"
+will not create its own definition if it encounters a previous
+definition.
+
+Special steps are taken in "jpegtcl*.[ch]" to allow interoperation.
+
+* The tcl.h header comes first everywhere.
+
+* In jpegtclDecls.h it is not possible to separate uses of the
+ two EXTERN macros. "tcl.h" is loaded first, then its EXTERN
+ definition disabled. Then we can load the jpeg
+ definition. After that we have to restore the EXTERN as
+ defined by "tcl.h" to satisfy the stub declarations.