The linter can't resolve relative include paths for nested files. However this shouldn't be an issue since spcomp resolves them just fine and compiles successfully.
Not related, but the errors about spcomp's path can be ignored since I added spcomp to PATH. Compilation still works.
EDIT 2: When using angled brackets instead of quotes for the relative include statements (#include <test2/file1.sp>), the error goes away. However, the code is not compilable leading to more inconsistent behaviour.
Basic informations
Further Information
The linter can't resolve relative include paths for nested files. However this shouldn't be an issue since
spcomp
resolves them just fine and compiles successfully.Code to reproduce the behaviour
test.sp:
test/file1.sp:
test/test2/file1.sp:
Expected behaviour
No error.
Error messages
EDIT: My SourcePawn Doctor output
Not related, but the errors about spcomp's path can be ignored since I added spcomp to PATH. Compilation still works.
EDIT 2: When using angled brackets instead of quotes for the relative include statements (
#include <test2/file1.sp>
), the error goes away. However, the code is not compilable leading to more inconsistent behaviour.