1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Timeline


and .

06/01/13:

14:22 Milestone 1.60 completed
new checks: * dereference iterator and then checking it in condition: 'if …
14:14 WikiStart edited by danielmarjamaki
1.61 will be released on august 3rd (diff)

05/31/13:

13:22 Ticket #4618 (Unmatched suppression: don't show this information message unless ...) closed by danielmarjamaki
fixed: Fixed by: …
08:23 Ticket #4820 (Building 1.59 from source reports version as 1.60 dev) closed by danielmarjamaki
invalid: I hope it worked. If not, please continue the discussion in the forum …

05/30/13:

05:09 Ticket #4822 (False positive: Same expression when checking for NULL and nullptr) created by kimmov
This kind of code: […] gives style warning: […]
03:55 Ticket #4821 (gcc -E bug.c > bug.exp.c ; cppcheck bug.exp.c) created by shibainu
I am Japanese. My English is poor. Please help me someone. gcc option is a …

05/29/13:

14:18 Ticket #4652 (False positive: variable value tracking into loop body) closed by danielmarjamaki
fixed: Fixed by: …
02:16 Ticket #4820 (Building 1.59 from source reports version as 1.60 dev) created by boinst
I'm building cppcheck 1.59 from source, but the produced binary reports …

05/28/13:

14:54 Ticket #4751 (CheckBufferOverrun: better handling when struct member instance doesn't ...) closed by danielmarjamaki
fixed: Fixed by: …
07:32 Ticket #4819 (two types of leak ?) created by dcb314
For resource leaks and memory leaks, it seems to me there are two types …

05/26/13:

17:41 Ticket #4818 (Check memset() 2nd parameter) created by lucasmrod
Hi, I want to propose a new simple check for memset(). memset() sets …

05/25/13:

09:08 Ticket #4568 (unnecessaryForwardDeclaration with undefined function) closed by amai
worksforme: I could not reproduce the false positive with any of 1.56-1.60dev. Since …

05/24/13:

12:00 Ticket #4817 (False positive - "Possible null pointer dereference: filestack") created by gbeee
Using version 1.58 […] It complains about the last line given the …

05/23/13:

14:17 Ticket #4815 (cppcheck 1.59 incorrectly reports a syntax error) closed by geronimodeuno
fixed: The "pourqui ?" is definitely wrong there, I completely missed that! …
12:18 Ticket #4816 (Bug not caught by cppcheck : eraseDereference inside for-loop with ...) created by pratn
I have the following test code: […] Cppcheck correctly finds a …
11:54 Ticket #4815 (cppcheck 1.59 incorrectly reports a syntax error) created by geronimodeuno
cppcheck reports a syntax error where I think the code is correct and …
10:11 Ticket #4814 (Warn about throwing anything but exception objects) created by laena
I know opinions differ on this point, but in situations where minimal …
08:59 Ticket #4813 (complain of const literals passed by reference) created by dpinol
Afaik, passing a const numeric literal by reference is not efficient, as …
08:54 Ticket #4812 (passedByValue to be triggered also for non const arguments) created by dpinol
In the code below , cppcheck only complains that A is unnecessarily passed …
04:40 Ticket #4599 (False positive with fopen/fclose test) closed by danielmarjamaki
fixed

05/22/13:

17:22 Ticket #4811 (False positive: Assert calls a function which may have desired side ...) created by tehuser
Can cout/cerr/ofstream be excluded from this check? Whilst the check is …
09:23 Ticket #4810 (Tokenizer: improve handling of 'if (x) MACRO() else ..') created by johngull
Received warning "Summary: Variable 'st' is assigned a value that is never …
06:21 Ticket #4809 (Review CheckNullPointer::parseFunctionCall) created by danielmarjamaki
This was inspired by pull request 141: …

05/20/13:

14:20 Ticket #4755 (buggy --xml reports in 1.59) closed by danielmarjamaki
fixed: It turned out to be expected behaviour. inconclusive messages are …

05/19/13:

09:37 Ticket #4808 (false positive Dereferencing 'var' after it is deallocated) created by serval2412
Hello, With cppcheck git updated today, I noticed a false positive in the …

05/18/13:

18:06 Ticket #4807 (Infinite loops in TemplateSimplifier::simplifyTemplates() (test code from ...) created by amai
The two referenced examples from clang show inifinite loops within …
17:35 Ticket #4806 (Crash in Type::initBaseInfo() in clang testcode) created by amai
The attached test code from clang triggers a segfault in …
17:30 Ticket #4805 (False positive: constStatement within unknown template declaration) created by amai
The following false positive Redundant code: Found a statement that …
16:34 Ticket #4789 (uninitMemberVar not found when constructor contains default parameters) closed by danielmarjamaki
fixed: Thanks! I applied 4789.diff with: …
16:20 Ticket #4804 (Improve check for 'std::string::data()' - identical to ...) created by lucasmrod
Hi there, std::string has a method called data() which is similar to …

05/17/13:

13:03 Ticket #4802 (False positive Assignment of function parameter has no effect outside the ...) closed by serval2412
invalid: amaigil2: you're completely right. Sorry for the noise.
08:10 Ticket #4803 (create warning when reference is unnecessarily copied) created by dpinol
It would be nice if cppcheck could display a performance warning when an …

05/16/13:

20:18 Ticket #4802 (False positive Assignment of function parameter has no effect outside the ...) created by serval2412
Hello, In the file attached, I've got this false positive: …
15:27 Ticket #4801 (Cppcheck fails to parse Posix (crash in ...) created by ocallesp
O.S: MS Windows 7 - 64 bit - Service Pack 1 cppCheck 1.59 for Windows 1- …

05/15/13:

16:50 Ticket #4797 (matchcompiler.py cannot handle overloaded findsimplematch and findmatch) closed by zingsheim
fixed: Committed MatchCompiler?_v2: …
16:00 Ticket #4799 (Segmentation fault in K&R simplification inside lambda expression) closed by zingsheim
fixed: I forgot to set it to fixed.
11:27 Ticket #4798 (Token::Match(tok, "&|*|%var%") behaves differently when parsed or compiled) closed by danielmarjamaki
fixed: I fixed this with: …

05/14/13:

16:01 Ticket #4800 (Check unhandled exceptions) created by burmagroup
if a method calls another method with an exception in its throw signature, …
09:07 Ticket #4790 (False positive: wrongPrintfScanfArgNum) closed by pkeus
fixed: Fixed by: …
08:44 Ticket #4732 (segmentation fault with cpp0x code from gcc-testsuite) closed by pkeus
fixed: Fixed by: …
07:44 Ticket #4799 (Segmentation fault in K&R simplification inside lambda expression) created by thomaswidmaier
Getting Segfault since 12.5. (#4187) with this (stripped down) code: …

05/13/13:

19:10 Ticket #4798 (Token::Match(tok, "&|*|%var%") behaves differently when parsed or compiled) created by zingsheim
The parsed version gives on the token "a" which is a variable "false" as …

05/12/13:

17:13 Ticket #4797 (matchcompiler.py cannot handle overloaded findsimplematch and findmatch) created by zingsheim
With the following commit overloaded versions of Token::findsimplematch …

05/11/13:

16:22 Ticket #4796 (Missing semicolon after simplified template class) created by zingsheim
As it can be seen for example in testSimplifyTokens.cpp at template2() the …
16:09 Ticket #4508 (False positive - multiple return in lambda method) closed by zingsheim
duplicate: Duplicate of #4711
15:59 Ticket #4711 (false positive: Consecutive return...) closed by zingsheim
fixed: Fixed by: …

05/10/13:

12:37 Ticket #4795 (check printf format args size) created by dpinol
This ticket is similar to #4794. It would be nice if cppcheck could …
12:33 Ticket #4794 (check type limits) created by dpinol
It would be nice if cppcheck could complain "i" can never be equal to …
12:04 Ticket #4793 (Assignment of function parameter has no effect outside the function with ...) created by dpinol
With the code below, += is correctly detected as an assigment, but it does …
09:50 Ticket #4792 (Uninitialised member variable is not detected when using namespace is used) created by danio
The following code does not detect the uninitialise member variable …
05:59 Ticket #4791 (False negative: uninitialized nested struct not detected) created by danielmarjamaki
Example code: […] No error is reported. Note: I found this with …

05/09/13:

17:23 Ticket #4725 (Tokenizer: Replace block declaration (^{}) with asm()) closed by danielmarjamaki
fixed
16:52 Ticket #4520 (segmentation fault of cppcheck (preprocessing)) closed by danielmarjamaki
fixed: Fixed by: …
13:17 Ticket #4604 (Undetected reassignment of variable) closed by pkeus
fixed: Fixed by: …

05/08/13:

20:43 Ticket #4790 (False positive: wrongPrintfScanfArgNum) created by renevanengelen
CppCheck? (1.59) reports a false positive wrongPrintfScanfArgNum upon …

05/07/13:

19:43 Ticket #4775 (Check for assert() with side effects) closed by laena
fixed
17:20 Ticket #4786 (segfault with one LibreOffice file) closed by danielmarjamaki
fixed: Fixed by: …
11:52 Ticket #4789 (uninitMemberVar not found when constructor contains default parameters) created by renevanengelen
when a class's non-standard constructor contains a parameter with a …

05/06/13:

16:54 Ticket #4773 (Regression: wrong detection of unitialized variable) closed by zingsheim
fixed: Replying to danielmarjamaki: > The conditions at lines 1289 …
07:12 Ticket #4788 (False Positive: BOOST_FOREACH caches the end() iterator) created by aziel
The current cppcheck version produces a false positive, if an erase is …
06:55 Ticket #4787 (False Positive: Unused private function) created by aziel
The code to check whether private methods are used does not check for the …

05/05/13:

14:55 Ticket #4786 (segfault with one LibreOffice file) created by serval2412
Hello, On pc Debian x86-64 with cppcheck git updated today, I had a …

05/04/13:

10:14 Ticket #4785 (Improve check: returning pointer to local array) created by danielmarjamaki
We warn about this code: […] The warning is: […] But there is no …
07:16 Ticket #4784 (Improve check: Uninitialized variable not detected (switch)) created by danielmarjamaki
Test case from clang: […] No error is reported by Cppcheck
07:14 Ticket #4783 (Improve check: Uninitialized variable not detected (maybe() && (x=1))) created by danielmarjamaki
Test case from clang (rewritten a little): […] No warning is reported.
07:08 Ticket #4782 (Improve check: Uninitialized variable not detected after conditional ...) created by danielmarjamaki
This is a test case from clang: […] Cppcheck doesn't report any error …
06:59 Ticket #4781 (False negative: Uninitialized variable (initialization in do while loop)) created by danielmarjamaki
This is a test case from clang: […] We don't detect this. However we …
06:43 Ticket #4780 (Tokenizer::simplifyKnownVariables: pointer in condition) created by danielmarjamaki
It seems pointers in conditions are not simplified. Example code: […] …

05/03/13:

19:35 Ticket #4388 (false positive 'noConstructor' in 1.57) closed by amai
fixed: Actually the fix went in for 1.59 already.
14:20 Ticket #4734 (False "Possible null pointer dereference") closed by danielmarjamaki
fixed: Fixed by: …
08:29 Ticket #4779 (unusedScopedObject does not work for classes in different namespace) created by dpinol
Cppcheck does not complain of unusedScopedObject in the code below. […] …
05:04 Ticket #4554 (false negative: buffer access out of bounds) closed by zacblair
fixed: I see now that recent changes warn about unsimplified code in tests, so I …

05/02/13:

18:37 Ticket #4760 (false negative: (error) usage of uninitialized variable (struct member)) closed by danielmarjamaki
fixed: Fixed by: …
18:37 Ticket #4778 (FP: Uninitialized variable: av) created by aggro80
[…] […] From: …
18:31 Ticket #4777 (FP: Variable 'b' is assigned a value that is never used, with typedef) created by aggro80
[…] […] From: …
18:23 Ticket #4776 (FP: Assignment of function parameter has no effect outside the function, ...) created by aggro80
[…] […] From: …
18:03 Ticket #4775 (Check for assert() with side effects) created by laena
[…] Here the programmer probably relies on side effects of the assert …
14:08 Ticket #4772 (Request: amend cppcheck's default include directories (was: <iostream> not ...) closed by amaigil2
invalid
11:59 Ticket #4774 (inline suppressions with additional filter) created by alienpaul
The following code generates two uninitMemberVar warnings. […] I only …
07:41 Ticket #4773 (Regression: wrong detection of unitialized variable) created by jeanfi
To reproduce, run cppcheck against the attached simple code. cppcheck …
Note: See TracTimeline for information about the timeline view.