diff options
Diffstat (limited to 'tkimg/libjpeg/DANGER')
-rwxr-xr-x | tkimg/libjpeg/DANGER | 17 |
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.
|