Hi, I found a preprocessor error in working code that stops cppcheck to continue analysis: #define IS_ENABLED(config_macro) Z_IS_ENABLED1(config_macro) #define Z_IS_ENABLED1(config_macro) Z_IS_ENABLED2(_XXXX##config_macro) #define _XXXX1 _YYYY, #define Z_IS_ENABLED2(one_or_two_args) Z_IS_ENABLED3(one_or_two_args 1, 0) #define Z_IS_ENABLED3(ignore_this, val, ...) val #define FOO 1 int main() { return IS_ENABLED(FOO); } Cppcheck says: test.cpp:3:0: error: failed to expand 'IS_ENABLED', Wrong number...
Cppcheck 2.2 reports an error in this (working) code: #include <iostream> int main() { bool a = 0; bool b = not a; bool c = not 0; // <--- here // output is "0 1 1" std::cout << a << " " << b << " " << c << std::endl; return 0; } Error: test.cpp:5:11: error: There is an unknown macro here somewhere. Configuration is required. If not is a macro then please configure it. [unknownMacro] bool c = not 0; ^ Cppcheck reports an error with every constant, not only with "0". Best, Cristian
Thanks!!!
Hi, I found a false positive in cppcheck 2.0 (previous versions are fine) in the following code: #include <iostream> void do_something(const char ** test) { *test = "test"; } bool test(int a) { bool ok = false; const char * r = nullptr; do_something(&r); if (r != nullptr) { ok = a != 0; } if (ok) { std::cout << "TRUE" << std::endl; } else { std::cout << "FALSE" << std::endl; } return ok; } int main() { int c; std::cin >> c; test(c); return 0; } The cppcheck output is: cdf@work:~/tmp/$ cppcheck test.cpp...
Hi, I do not feel involved enough to participate in these projects, sorry.
Dear Olzhas, your project is nice and interesting, but I would like to join a project for a software that can be somehow useful for me. Instead, I would have no idea of how using your software. Sorry.
Hello, I am a programmer and I have experience in C++/Java/Perl (but I known a lot of other languages) and using *nix systems (principally debian-like distros). I worked in bioinformatics data analysis (e.g., see https://sourceforge.net/projects/libbiocpp and https://sourceforge.net/projects/ngs-suite) and now I moved to embedded systems (YOCTO). In my spare time I enjoy play drums, play video-games, take photos and (obviously) programming. I usually develop linux applications using Eclipse. I search...
Hello, I am a programmer and I have experience in C++/Java/Perl (but I known a lot of other languages) and using *nix systems (principally debian-like distros). I worked in bioinformatics data analysis (e.g., see https://sourceforge.net/projects/libbiocpp and https://sourceforge.net/projects/ngs-suite) and now I moved to embedded systems (YOCTO). In my spare time I enjoy play drums, play video-games, take photos and (obviously) programming. I usually develop linux applications using Eclipse. I search...
bugfix
bugfix
.
Using CLANG
Suggestions by CLANG
Suggestion by CLANG
bugfix
update
minor changes
autotools
ok
ok
improvements
Added algorithms::Intelligent_Sort
ok, debugging finished
bugfix
columns-merger to be tested!
ok
update number visualization
using templates in print.hpp
c++14 tests
Added warning when overflow. Upgraded space fro...
bugfix in compute-profile (DCR output is always...
new cppcheck version!
new cppcheck version!
if an incorrect implementation of std::regex is...
ok
Correct use of $(BOOST_CPPFLAGS)
bugfix: Representation::acquiring_from_SAM_file...
new NP's branch
new development version
new upstream version
no more needed
new upstream version
license year updated
license year updated
license year updated
Added clang-tidy (formerly know as còang-modern...
suggested by clang-tidy
suggestion by clang++
updated boost search scripts
updated boost search scripts
updated to Ubuntu 16.04
updated to Ubuntu 16.04
Solved compile bug: https://sourceforge.net/p/s...
Solved compile bug: https://sourceforge.net/p/s...
updated boost.m4 for boost 1.58+
updated boost.m4 for boost 1.58+
added exceptions
output bugfix
typo
.
Added thread names
libtool: using "ar crD"
libtool: using "ar -crD"
fixes suggested by CLANG
.
.
maintenance
oooops
minor changes
s/destroyer/destructor/
.
ok
optimizations
optimization
Async_FIFO_Buffer works!
otimizing code
optimizing async buffer (not working yet)
removed useless std::move
moved responsability to store position from Asy...
Added Scoped_Thread
correct way to lock two mutex at the same time
using std::once_flag on Log
optimized Syncronization
Added Hierarchycal mutex, to be tested
using correct lock method for Auto_Zip and Auto...
Using correct instances of std::lock_guard or s...
Documentation for Doxygen
using libbiocpp::useful::Program_Options
added --version to Program_Options
re-ops
ops
added --max-threads option
new cppcheck version
new cppcheck version
ns-fasta-extract works!!!
bugfix
Modified fasta-extract to use indexed fasta. Re...
modernize
Added classes for indexing fastq files.