[cfe-dev] The %p conversion and cast to void*

Daniel Marjamäki Daniel.Marjamaki at evidente.se
Wed Feb 25 23:11:10 PST 2015


I would personally like to have such a warning so I can fix my UB / portability issues.

However in my humble opinion if this warning is "spectacularly annoying" it does not belong in the compiler.

How about adding it in clang-tidy or the static analyser?

Personally I am fine with the gcc warning. Anyone who miss this warning can have it by using gcc also.

..................................................................................................................
Daniel Marjamäki
Senior Engineer
Evidente ES East AB 
Warfvinges väg 34  SE-112 51 Stockholm  Sweden 




More information about the cfe-dev mailing list