Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Provide more helpful error message if compiling nmakehlp.exe fails

Open71b0aa626143fff0c46c668493be25252ec9c418Created 4 years agoUpdated 4 years ago
Descriptionwiki2022-09-17 20:38:20
When building on Windows with nmake (i.e. nmake /f makefile.vc INSTALLDIR=… 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. Cannot open include file: "windows.h": No such file or directory error due to Windows SDK unavailable), then nmake will proceed anyway, causing several 'nmakehlp' is not recognized as an internal or external command, operable program or batch file messages to be emitted, until eventually encountering a syntax error (presumably involving incompletely set TCL_… 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.

chrstphrchvz Ticket [71b0aa6261]: 3 changes [History diff]2022-09-17 20:38:49
Log in (anonymous is fine) to add a comment.