Skip to content
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

Question: Porting to HPE NonStop #190

Open
rsbeckerca opened this issue Oct 7, 2023 · 0 comments
Open

Question: Porting to HPE NonStop #190

rsbeckerca opened this issue Oct 7, 2023 · 0 comments

Comments

@rsbeckerca
Copy link

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?

rsbeckerca added a commit to rsbeckerca/distorm that referenced this issue Oct 8, 2023
Fixes: gdabah#190

Signed-off-by: Randall S. Becker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant