Yes, I know about these changes.
But note that some compilers in Windows also require correct cases if we enable all warnings.
So we must have both versions for each h file:
But note that some compilers in Windows also require correct cases if we enable all warnings.
Which ones? It has nothing to do wit compiler and everything to do with case in/sensitivity of file system and ability to find these files. No windows compiler ever complained about case of headers' file names. If compiler is able to open, let's say, "wInDoWs.H" with #include <windows.h> it will not complain as it opens the file, no problem. But in *nixes file systems are case sensitive and "wInDoWs.H" and "windows.h" are two different files and trying to open first with second name will simply fail, and that is what compiler complains about.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I know about these changes.
But note that some compilers in Windows also require correct cases if we enable all warnings.
So we must have both versions for each
h
file:Last edit: Igor Pavlov 2023-02-21
Which ones? It has nothing to do wit compiler and everything to do with case in/sensitivity of file system and ability to find these files. No windows compiler ever complained about case of headers' file names. If compiler is able to open, let's say, "wInDoWs.H" with
#include <windows.h>
it will not complain as it opens the file, no problem. But in *nixes file systems are case sensitive and "wInDoWs.H" and "windows.h" are two different files and trying to open first with second name will simply fail, and that is what compiler complains about.