Skip to content

Towards -Wall,-Wpedantic,-Werror #2113

Open
@Rot127

Description

@Rot127

We had now several times that the CI in Capstone is fine with several build warnings, but external projects are not.

For v6 or at least v7 we should be able to compile CS without any build warnings.
Especially since everything is C and more strict is always better in this case.

  • Builds with -Wall
  • Builds with -Wpedantic (1926 warnings) in
    • ARMDisassembler.c
    • arm.h
    • ARMInstPrinter.c
    • bpf.h
    • capstone.h
    • Mapping.h
    • MCInst.h
    • mips.h
    • ppc.h
    • PPCInstPrinter.c
    • PPCInstPrinter.h
    • riscv.h
    • sh.h
    • sparc.h
    • systemz.h
    • tricore.h
    • TriCoreInstPrinter.c
    • wasm.h
    • xcore.h

Issues

#2139

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestingTest related issue

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions