1
2
3
4
5
|
1
2
3
4
5
6
7
|
+
+
|
The Tcl Source has a number of C defines which control various (mostly internal) aspects of the system. Only a minority, if any (IIRC) can be controlled via the standard `configure` command. For the remainder it is necessary to use `-D...` or `-D...=...` with `make`.
The following defines are known:
- `TCL_FINALIZE_ON_EXIT` - [Finalize](wiki?name=%28Initi/Fin%29alize) - free all memory on exit, despite the OS cleaning up after anyway. This reduces reports of false resource leaks for both dynamic and static memory trackers (valgrind, coverity).
- See also [Tcl Public Macros](wiki?name=Tcl+public+macros) for an un-annotated list of the public defines.
|