[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Windows error messages
From: |
Paul Smith |
Subject: |
Windows error messages |
Date: |
Tue, 10 Sep 2019 11:58:59 -0400 |
It's always annoyed me that the Windows error messages generated by
make are so much different (and, arguably, less understandable) than
the ones it generates on other platforms.
For example on GNU/Linux:
! make: foobar: No such file or directory
! make: *** [work/misc/general4.mk.7;3: all] Error 127
But on Windows:
! process_begin: CreateProcess(NULL, foobar, ...) failed.
! make (e=2): The system cannot find the file specified.
! make: *** [work/misc/general4.mk.7;3: all] Error 2
Aside from the error code, is there a good reason to show this special
process_begin() message on Windows instead of just using the same error
reporting facilities that make uses on other platforms?
If we did I imagine it would look something like this:
! make: foobar: The system cannot find the file specified.
! make: *** [work/misc/general4.mk.7;3: all] Error 2
I'd really like to make this change if acceptable to the Windows folks
out there.
Cheers!
- Windows error messages,
Paul Smith <=