Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
A *zstringptr can be assigned to a numeric var #111
As observed in https://freebasic.net/forum/viewtopic.php?p=254055#p254055
I thought we'd fixed something like this before, but I can't find an existing bug report or changelog entry.
Potentially similar bugs were fixed at:
It could be because of string indexing; there were quite some special cases in fbc treating z/wstring pointer deref's specially because of that, treating such expressions as wchar/char integers in some places but strings in others. So for example,