Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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]
    
  5. is_private changed to: "0"
  6. login: "jan.nijtmans"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "jan.nijtmans"
  13. subsystem changed to: "16. Commands A-H"
  14. title changed to:
    Compiler warning/inconsistant error-message in TIP #656 implementation
    
  15. type changed to: "Bug"