[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] CODAN problem after update to 9.7.0
|
Hi Axel,
Thank you for trying out the newest version of CDT and apologies that you have run into this issue. I really appreciate you bringing it to the community's attention. Can you
submit a bug for this issue. This is out of my area of expertise, but hopefully someone will recognise this problem.
In case you (or others) need it you can disable the specific checker if you need to until the issue is resolved. Window -> Preferences -> C/C++ -> Code Analysis -> Syntax and Semantic Errors -> Invalid arguments. (If you have project specific settings, access the preference via the Project Properties). I have attached a screenshot to show what I am referring to.
HTH,
Jonah
Hi,
I just upgraded my CDT installation to the latest release (9.7.0.201903092251). Now, the automatic code analysis (CODAN) marks all occurrences of the macro QStringLiteral (its is part of the Qt framework) as invalid
Invalid arguments '
Candidates are:
QStaticStringData()
QStaticStringData(const QStaticStringData<int19> &)
This can be easily reproduced with the Qt source code from CDT itself:
This is clearly a regression in the new version. I never had the problem before.
Cheers,
Axel
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev
Attachment:
disable specific codan.png
Description: PNG image