-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid include paths #15
Comments
This is the way we choose some years ago...this will be not changed... root is defined as include path. |
@ygrabit That's a pity, it seems overly complicated and error prone to reference an include from the same folder by going up to root and then down again. Also needs a lot more typing whenever files are moved around .. Just my 2 cents |
@ygrabit @lmdsp I'm actually not so critical on the existing approach, it even looks less problematic and confusing to me, considering namespace features of C++. Filesystem structure usually reflects the namespace hierarchy in the code, so it's quite often, that you have some types of usual name (e.g. |
Many files have includes which cause build errors if additional include paths are not defined / amalgamated builds.
For example in
plugininterfaces/base/funknown.h
:There is no need to repeat the
"pluginterfaces/base
part as they're in the same folder !This works fine:
The text was updated successfully, but these errors were encountered: