-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] Include files are included from current directory rather than file directory #186
Comments
#include "..\file.hpp" Tested on some of my files in my repo. (linux)
(Link to (cScripts/functions/logistics/fn_addCargo.sqf) refrenced below)
EDIT: Attepts to override the pathing for the pathing does not work:
|
Should be fixed in c792ea8 Please reopen if still affected with latest development release |
Used folowing artifacts https://github.com/SQFvm/runtime/actions/runs/5810890073 Seams like it did not fix the issue log form testing:
|
Repo for reproduction: |
Issue primarly Linux related now. Works on windows |
Describe the bug
Include path resolving does not work as expected. In SQF,
#include "file"
means that it will be looked for in same directory as the preprocessed file. SQFVM looks in the current working directory (cwd) insteadTo Reproduce
Result
Expected behavior
Include should succeed
Screenshots
The text was updated successfully, but these errors were encountered: