There are or have been several tickets where it has become apparent that it can sometimes be difficult to determine what might be going wrong with your configurations. Additionally there has been at least one request to produce an output dialog containing the lints, and this functionality helps with that.
In order to start addressing this, I've refactored the way file handles are dealt with in file.cpp, using a wrapper to make it easier and safer to deal with system handles and to produce better error messages and to avoid a couple of (unlikely) situations where a handle could leak.
I've also added a class which does all the hard work in turning windows error codes into human readable messages.
Additionally the standard __cplusplus macro has been made available during compilation, to make it possible to use c++20 facilities where available.
Finally, added instructions on filenames-with-spaces to the readme.
There are or have been several tickets where it has become apparent that it can sometimes be difficult to determine what might be going wrong with your configurations. Additionally there has been at least one request to produce an output dialog containing the lints, and this functionality helps with that.
In order to start addressing this, I've refactored the way file handles are dealt with in file.cpp, using a wrapper to make it easier and safer to deal with system handles and to produce better error messages and to avoid a couple of (unlikely) situations where a handle could leak.
I've also added a class which does all the hard work in turning windows error codes into human readable messages.
Additionally the standard __cplusplus macro has been made available during compilation, to make it possible to use c++20 facilities where available.
Finally, added instructions on filenames-with-spaces to the readme.