-
Notifications
You must be signed in to change notification settings - Fork 1
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
modaccent long type conversation errors #7
Comments
Currently playing with this. |
This however, is fixing the output of generated code.. better would be to regenerate them with better tools, but whether we had the source files I do not know. |
Generated code explains is why it looks so terrible. I'm not sure where it's generated from. |
Possibly it came wholesale as part of the ACCENT distribution and was used with a bit of wrapping by Julian. Possibly he lexed and bisoned it together ACCENT. Either way it is what it is. |
I think we have our answer :-) |
I think the right path forward is working out how to build a modern accent. I've fixed the intptr_t occurences and it goes from crashing to existing with some maxint looking exit code. |
|
Rerunning accent or gentle fixes none of the core problems here.
This is the same whether using the new cleaner accent output or the existing modaccent code. At some point only compiling it as 32-bit and running that, ignoring all the warnings and so on seems like the reasonable outcome. |
It's difficult to find information on this. Which parts of the project rely on this compiler? Is this for the files in |
|
Here's me trying to write it as simply as possible. As it is convoluted this might be wrong.
I've never bothered looking at this whole side of things outside of bug fixing in the grammar because IMO it is a time sink. What I would personally do is refactor the module compiling out into a separate executable and remove it from Incursion.exe. And continue to ignore this whole part of it and focus time on user accessible things. |
It does look like messing with this could become a time sink. I should just be happy that the automated builds actually work right now. |
I've noticed a ton of conversion errors in the
modaccent
sources. These sources seem to insist on castinglong
types tolong*
pointers and back again. On most x64 systems the pointer will be larger than the integer.This can generally be fixed by replacing
long
withintptr_t
.The text was updated successfully, but these errors were encountered: