Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fb2d35a09de9d8d8efb2c9a8047d210411fc12e7da48ddb40306d222f2bcab1d
Ticket: 71b0aa626143fff0c46c668493be25252ec9c418
Provide more helpful error message if compiling nmakehlp.exe fails
User & Date: chrstphrchvz on 2022-09-17 20:38:20
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    When building on Windows with nmake (i.e. <tt>nmake /f makefile.vc INSTALLDIR=…</tt> commands), the rules.vc file suppresses and ignores any errors during compilation of nmakehlp.exe. If nmakehlp.exe fails to compile for whatever reason (e.g. <tt>Cannot open include file: "windows.h": No such file or directory</tt>  error due to Windows SDK unavailable), then nmake will proceed anyway, causing several <tt>'nmakehlp' is not recognized as an internal or external command, operable program or batch file</tt> messages to be emitted, until eventually encountering a syntax error (presumably involving incompletely set <tt>TCL_…</tt> macros).
    
    I suggest that if compiling nmakehlp.exe fails, then nmake should stop and provide a more helpful error message, such as errors from the compile command, rather proceed until other errors.
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "chrstphrchvz"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "chrstphrchvz"
  13. subsystem changed to: "53. Configuration and Build Tools"
  14. title changed to:
    Provide more helpful error message if compiling nmakehelp.exe fails
    
  15. type changed to: "RFE"