User Activity

  • Committed [r17] on SVN

    ! Fixed 64bit warnings using explicit casts or different types.

  • Committed [r16] on SVN

    ! Upgraded project file.

  • Committed [r15] on SVN

    + Added ID3v1 genre extensions by Winamp.

  • Posted a comment on discussion General Discussion on cppcheck

    It seems that cppcheck doesn't understand some #if variants. It works using #ifndef but not in the following way: file.cpp: #include "file1.h" file1.h, file2.h, file3.h, fle4.h all in this way: #if !defined( INC_FILE1_H ) #define INC_FILE1_H #include "file2.h" #endif Then all INC definitions are checked separately: cppcheck.exe --force file.cpp Checking file.cpp ... Checking file.cpp: INC_FILE1_H... Checking file.cpp: INC_FILE2_H... Checking file.cpp: INC_FILE3_H... Checking file.cpp: INC_FILE4_H......

  • Posted a comment on discussion General Discussion on cppcheck

    Hi There are several posts and questions about speeding up cppcheck. Me too I've run into a speed problem. Analyzing our codebase takes about a day with --force. Some #ifdefs don't need to be checked in all variants so I tried to -D and -U some of them in hope of bringing down execution time because less combinations need to be checked. However exactly the opposite happened. Here are some numbers: cppcheck file.cpp --force (and some other parameters but no -D or -U) 135 config combinations 26s Adding...

  • Posted a comment on discussion General Discussion on cppcheck

    Hello I want to use --force to check all possible #ifdef combinations. However there are some defines that will never be used e.g. various platforms (sun, aix etc) when we only use linux and Windows. So these unwanted cases can be excluded with -U. But if there are many defines to exclude then the command line gets pretty long. For include paths there's already the param --includes-file. All -D items can be collected in a file which can be used with --include. I'd like to have a similar way for the...

  • Posted a comment on discussion General Discussion on cppcheck

    Hello I get an uninitVar message from this code: (uint32 is a typedef for unsigned long) volatile uint32* pIPIVPR; switch (GetCoreId()& 0x01) { // default: case 0 : pIPIVPR = INOS_HW_ADDR32(DF_INOS_P2020_MPIC_IPIVPR0); break; case 1 : pIPIVPR = INOS_HW_ADDR32(DF_INOS_P2020_MPIC_IPIVPR1); break; } *pIPIVPR &= 0x7fffffff; Uninitialized variable: pIPIVPR A number & 0x01 can only be two cases, 0 and 1, so the switch covers all cases. Still cppcheck thinks that pIPIVPR is uninitialized. Adding the commented...

  • Posted a comment on discussion General Discussion on cppcheck

    Thanks a lot for those pointers, I'll try them out.

View All

Personal Data

Username:
fcenedese
Joined:
2011-01-06 19:30:23

Projects

This is a list of open source software projects that Fabian Cenedese is associated with:

  • Project Logo SuperGrips Reimplementation of the German SuperGrips TV show (Blockbuster) Last Updated:
  • Project Logo mp3ext   Last Updated:

Personal Tools