Skip to content

Question: Porting to HPE NonStop  #190

Description

@rsbeckerca

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions