Skip to content

warning: xxx differ in signedness [-Wpointer-sign] #21

@innomatica

Description

@innomatica

For some reason, Cube uses unsigned char which creates warning since the compiler option -Wall implies -Wpointer-sign.

Solution is to add -Wno-pointer-sign at the end of CFLAGS in the template file (CubeMX2Makefile.tpl).

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