You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to port the code over to HPE NonStop (x86 big endian). Most issues seem simple enough, although signed char vs. unsigned is worrying and I may have to add some casts. The problem I have is to get the following to work on c99:
RSHORT(&s->p[i]) = RSHORT(&TextBTable[(*buf) * 2]);
^
"C:\cygwin64\home\Randall S. Becker\git\distorm\make\nonstop\../../src/textdefs.c", line 45: error(226):
expression must be a modifiable lvalue
I'm looking for the best way to fix this as it is not compatible with older variants (non-gcc) of the c99 compiler. May I request a suggestion that would be acceptable in an eventual pull request to this project?
The text was updated successfully, but these errors were encountered:
rsbeckerca
added a commit
to rsbeckerca/distorm
that referenced
this issue
Oct 8, 2023
I am trying to port the code over to HPE NonStop (x86 big endian). Most issues seem simple enough, although signed char vs. unsigned is worrying and I may have to add some casts. The problem I have is to get the following to work on c99:
I'm looking for the best way to fix this as it is not compatible with older variants (non-gcc) of the c99 compiler. May I request a suggestion that would be acceptable in an eventual pull request to this project?
The text was updated successfully, but these errors were encountered: