[Gambas-user] A lot of warnings from Cppchek with gbc and gbx

Benoît Minisini benoit.minisini at gambas-basic.org
Tue Nov 14 08:59:17 CET 2023


Le 14/11/2023 à 07:21, Филипп Друан via User a écrit :
> Hello all.
> 
> I started the Cppcheck static analyzer by giving it the code gbc and gbx 
> (although I'm not sure what they are). The analyzer swore a lot and said 
> there were critical errors. I was immediately embarrassed. If the code 
> is in the repository, it will most likely be compiled and work.
> I ask you to run Cppcheck yourself and check what it is not satisfied with.
> If I succeed, I will try to check your code with a better analyzer.
> Thanks!
> 
> Filipp
> 

Beware that 'cppcheck' apparently does not understand many gcc syntaxes, 
so you get a lot of false warnings and errors.

There are some real warnings or errors to fix anyway, but each 
'cppcheck' output must be carefully check for correctness, so it takes a 
lot of time.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list