summaryrefslogtreecommitdiffstats
path: root/tkimg/libjpeg/DANGER
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-01-03 21:52:18 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-01-03 21:52:18 (GMT)
commit4302a869f0212a3e4878e66a7260b434f6584476 (patch)
treee6976e66edf648406e32b092395121e045301692 /tkimg/libjpeg/DANGER
parenta780057cc1b51dd3a557549c3cf2431f09136c0d (diff)
parent60d692811c12788ed4468d5ff680633304e8f641 (diff)
downloadblt-4302a869f0212a3e4878e66a7260b434f6584476.zip
blt-4302a869f0212a3e4878e66a7260b434f6584476.tar.gz
blt-4302a869f0212a3e4878e66a7260b434f6584476.tar.bz2
Merge commit '60d692811c12788ed4468d5ff680633304e8f641' as 'tkimg'
Diffstat (limited to 'tkimg/libjpeg/DANGER')
-rwxr-xr-xtkimg/libjpeg/DANGER17
1 files changed, 17 insertions, 0 deletions
diff --git a/tkimg/libjpeg/DANGER b/tkimg/libjpeg/DANGER
new file mode 100755
index 0000000..35e6504
--- /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.