Teraslilja - 1 day ago

Operating environment:
cppcheck compiled at WSL (Ubuntu 22.04.5 LTS), while repository is located at Windows 11 partition.

If a header is included as #include "Header.hpp" and #include "header.hpp" (mixed cases of letters), it is happily compiled with Visual Studio.

However, if cppcheck is run (at WSL/Ubuntu), a "syntaxError" is generated (for each different header name), when enumerated class type is defined. Most likely cppcheck thinks that "Header.hpp" and "header.hpp" are different files.

Maybe the rule's logic need a check for a case, when it is possible that single file is included by varying names..