Hi,
cppcheck1.88 crashes with a segmentation fault when analyzing a boost library file; this didn’t happen with previous versions:
./cppcheck --enable=warning,style,performance,portability --force --inconclusive --std=c++11 /boost_1_67_0/libs/proto/example/mini_lambda.cpp Checking /boost_1_67_0/libs/proto/example/mini_lambda.cpp ... Segmentation fault (core dumped)
The file can be found here: https://dl.bintray.com/boostorg/release/1.67.0/source/ I’ve also attached it to the thread.
Best regards, Martin
It seems to work with the current development version (head):
$ ./cppcheck --enable=warning,style,performance,portability --force --inconclusive --std=c++11 ./boost_1_67_0/libs/proto/example/mini_lambda.cpp Checking boost_1_67_0/libs/proto/example/mini_lambda.cpp ... [boost_1_67_0/libs/proto/example/mini_lambda.cpp:71]: (style) Struct 'lambda_context' has a constructor with 1 argument that is not explicit.
Tested with default Makefile and with -O2 option for g++.
-O2
Log in to post a comment.
Hi,
cppcheck1.88 crashes with a segmentation fault when analyzing a boost library file; this didn’t happen with previous versions:
./cppcheck --enable=warning,style,performance,portability --force --inconclusive --std=c++11 /boost_1_67_0/libs/proto/example/mini_lambda.cpp
Checking /boost_1_67_0/libs/proto/example/mini_lambda.cpp ...
Segmentation fault (core dumped)
The file can be found here: https://dl.bintray.com/boostorg/release/1.67.0/source/
I’ve also attached it to the thread.
Best regards,
Martin
It seems to work with the current development version (head):
Tested with default Makefile and with
-O2option for g++.