Given this directory tree:
src/MyLibrary/MyHeader.h
src/file.cpp
file.cpp:
#include "mylibrary/myheader.h"
...
Compiling file.cpp works with VS, fails in gcc.
- What does the standard say?
- If the path is case sensitive, why is this wise?
- What's the best practice, keep all file/folder names lowercase and thus do the same when including?
Thanks.
See Question&Answers more detail:os