Skip to content

Warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #310

@fmatray

Description

@fmatray

Hello,
During compilation, I get 23 Warnings:

dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 

example with this line in macros.h:280 :

constMEM Menu::promptShadow& opShadow##cnt=*(promptShadow*)&opShadowRaw##cnt;\

I try to find why this happen but I have no clue.

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