Skip to main content

[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 Jonah,

I filed a bug report

I am aware of the option to disable a specific checker. However, the checker for "invalid arguments" is most of the time very helpful during typing. So I do not want to disable it.

Cheers,
  Axel



Am Mo., 25. März 2019 um 15:17 Uhr schrieb Jonah Graham <jonah@xxxxxxxxxxxxxxxx>:
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






~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On Mon, 25 Mar 2019 at 08:42, Axel Müller <axel.carl.mueller@xxxxxxxxx> wrote:
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
_______________________________________________
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


--
Dr. Axel Müller
Lorbeerweg 8
76149 Karlsruhe

Back to the top