Overview
| Artifact ID: | 8461bd2f0441f421230e2ad27a5c54dfeba9702a |
|---|---|
| Ticket: | 531931ffffffffffffffffffffffffffffffffff
TCL_DEFS has SPC if "long long" allowed |
| User & Date: | jcw on 2002-03-19 16:47:29 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
On my Linux box with 64-bit support, the TCL_DEFS variable definition in tclConfig.sh has the form: TCLDEFS=' .... -Dblah=long\ long ...' That is extremely hard to use in shell scripts (impossible?), because the quoting gets lost. The following test script fails, when run in tcl/unix/: . tclConfig.sh gcc -c $TCL_DEFS tclAppInit.c The error is that it loses the backslash, and complains about not finding the source file named "long". I've tried all sorts of quoting tactics, to no avail. One workaround is to add the following to tcl.h: #define TCL_LONGLONG long long Then, alter the logic to emit the following to tclCobfig.sh instead: TCLDEFS=' .... -Dblah=TCL_LONGLONG ...' There's also a "int64_t" defined on Linux in "stdint.h", but that file is probably not available everywhere.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jcw"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "TCL_DEFS has SPC if "long long" allowed"
- type changed to: "Bug"