2020-05-12, 02:01 PM
(This post was last modified: 2020-05-12, 02:57 PM by EvilShadeZ.)
Hello, I have encountered an issue where I can't include YSI in the script.
If I try to include it this way:
The include directive works just fine, but YSI returns an error:
But if I try to include the way it wants
So linux doesn't support '\' in paths, as it is a valid file name character.
This user error basically makes YSI incompatible on Linux.
Is there an actual reason why it was done that way?
Seems like #pragma compat 1 does fix my issue.
If I try to include it this way:
Code:
#include <YSI_Coding/y_hooks>
Code:
fatal error 111: user error: Did you use `YSI/y_hooks` instead of `YSI\y_hooks`?
Code:
#include <YSI_Coding\y_hooks>
fatal error 100: cannot read from file: "YSI_Coding\y_hooks"
So linux doesn't support '\' in paths, as it is a valid file name character.
This user error basically makes YSI incompatible on Linux.
Is there an actual reason why it was done that way?
Seems like #pragma compat 1 does fix my issue.