Skip to content

const issue #373

Description

@johnsonjh

Trying to build TPZASM current master:

Failure:

$ /opt/ack/bin/ack -O3 -mlinux386 $(ls -1 ./src/*.c | grep -v hexcom | grep -v test_expr) -o tpzasm
"./src/objout.c", line 461: (strict) qualifier error
"./src/objout.c", line 464: (strict) qualifier error
"./src/objout.c", line 467: (strict) qualifier error

Defining const away works:

/opt/ack/bin/ack -O3 -mlinux386 $(ls -1 ./src/*.c | grep -v hexcom | grep -v test_expr) -Dconst= -o tpzasm

No complaints for any other compiler and passes multiple static analysis engines, so I can't how this would be my bug.

I haven't made any attempt to look into this one yet.

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