Overview
| Artifact ID: | 9620fbda373db0670999374acf58fc6d8d41bda51bec26b32200b85e66ca97e8 |
|---|---|
| Ticket: | 40c61a5d10e9b6478a096723bfc78fd85664f637
Compiler warning/inconsistant error-message in TIP #656 implementation |
| User & Date: | jan.nijtmans on 2023-02-23 07:36:46 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Compiling the tip-656 branch, I see the following warning: <pre> tclCmdAH.c: In function ‘EncodingConvertParseOptions’: tclCmdAH.c:592:14: warning: trigraph ??- ignored, use -trigraphs to enable [-Wtrigraphs] 592 | "??-profile profile? ?-failindex var? ?encoding?? data"); </pre> Also, when running this: <pre> % encoding convertfrom -profile tcl ascii wrong # args: should be "::tcl::encoding::convertfrom ??-profile profile? ?-failindex var? ?encoding?? data" </pre> This doesn't correspond with the TIP text, making 'encoding' mandatory when any other option is used. Suggested solution, see [https://core.tcl-lang.org/tcl/file?udc=1&ln=591-594&ci=0c53a7c84241948e&name=generic%2FtclCmdAH.c|here]
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "16. Commands A-H"
- title changed to:
Compiler warning/inconsistant error-message in TIP #656 implementation
- type changed to: "Bug"