Yes, i haven't find it when i search ! Sorry for the duplicate... You have a good memory, the ticket has 7 years !! :D As it has 7 years, i don't think it'll be resolved in the future... :/ Thanks for your work on this project !!!
I think there is a unexpected behaviour with the -U option Take the sample code below, ugly, isn't it... :) So this code overrides the metasyntaxicvariable in an #ifdef, that will run to a redundantInitialization warning if the DEFINE is available #include <QCoreApplication> #include <QDebug> #include <QObject> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QString metasyntaxicvariable = QObject::tr("john doe"); #ifdef MY_SUPER_DEFINE_TO_OVERRIDE // cppcheck-suppress redundantInitialization...
can this topic be created with the content of the found bug ? the "Post awaiting moderation." since 2020-12-10... :/
can this topic be created with the content of the found bug ?