-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fixed compilation on Haiku #13018
Fixed compilation on Haiku #13018
Conversation
It's a temporary solution, I suppose.
Such a weird bug, maybe instead compile |
@Araq |
Who knows but it doesn't seem likely. |
@Araq And no, manually compiling koch with |
Well sorry, this workaround is unacceptable. We need to find and fix the root cause. |
@Araq |
But no, then it would be GCC complaining... So, it's not the case. |
Huh? Of course GCC could produce wrong code and then we would see this behavior. |
@Araq |
@Araq Examples: echo "one:two:three" Result: 2: import os
echo "one:two" / ":three"
echo "test::::::::" / "test"
echo "test" / "::::::::test"
echo "test::::" / "::::test" Result: |
osseps.nim contains this section AltSep* =
when doslikeFileSystem: '/'
elif defined(haiku): ':'
else: DirSep
which seems to be responsible. :-) |
This was inherited from platform.nim and wasn't in the original osseps.nim prior to this PR. |
@Araq Give me time, I'll make another pull request. |
Fixed #13017.
It's a temporary solution, I suppose.