mariadb-server-10.5]$ infer run --compilation-database ../build-mariadb-server-10.5/compile_commands.json
|
...
|
if (from->ctype)##############################################################.....] 93% 19min29s
|
~~~~ ^rage/test_sql_discovery/test_sql_discovery.cc
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:127:9: error: no member named 'ctype' in 'struct charset_info_st'
|
to->ctype= (uchar*) mdup((char*) from->ctype, MY_CS_CTYPE_TABLE_SIZE);
|
~~ ^ storage/spider/spd_sys_table.cc
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:127:44: error: no member named 'ctype' in 'struct charset_info_st'
|
to->ctype= (uchar*) mdup((char*) from->ctype, MY_CS_CTYPE_TABLE_SIZE);
|
~~~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:163:14: error: no member named 'ctype' in 'struct charset_info_st'
|
if (refcs->ctype && cs->ctype &&
|
~~~~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:163:27: error: no member named 'ctype' in 'struct charset_info_st'
|
if (refcs->ctype && cs->ctype &&
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:164:19: error: no member named 'ctype' in 'struct charset_info_st'
|
!memcmp(cs->ctype, refcs->ctype, MY_CS_CTYPE_TABLE_SIZE))
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:164:33: error: no member named 'ctype' in 'struct charset_info_st'
|
!memcmp(cs->ctype, refcs->ctype, MY_CS_CTYPE_TABLE_SIZE))
|
~~~~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:165:9: error: no member named 'ctype' in 'struct charset_info_st'
|
cs->ctype= NULL;
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:200:48: error: no member named 'ctype' in 'struct charset_info_st'
|
return ((cs->csname && cs->tab_to_uni && cs->ctype && cs->to_upper &&
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:279:11: error: no member named 'ctype' in 'struct charset_info_st'
|
if (cs->ctype)
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:280:48: error: no member named 'ctype' in 'struct charset_info_st'
|
print_array(f, cs->name, "ctype", cs->ctype, MY_CS_CTYPE_TABLE_SIZE);
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:370:32: error: no member named 'ctype' in 'struct charset_info_st'
|
print_array_ref(f, cs, cs->ctype, srccs, srccs->ctype, "ctype");
|
~~ ^
|
/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c:370:53: error: no member named 'ctype' in 'struct charset_info_st'
|
print_array_ref(f, cs, cs->ctype, srccs, srccs->ctype, "ctype");
|
~~~~~ ^
|
13 errors generated.ider/spd_table.cc
|
Error: the following clang command did not run successfully:
|
/opt/infer-linux64-v0.17.0/lib/infer/facebook-clang-plugins/clang/install/bin/clang-8
|
@/tmp/clang_command_.tmp.3bb499.txt ++Contents of '/tmp/clang_command_.tmp.3bb499.txt':
|
"-cc1" "-load"
|
"/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/libtooling/build/FacebookClangPlugin.dylib"
|
"-add-plugin" "BiniouASTExporter"
|
"-plugin-arg-BiniouASTExporter"
|
"-"
|
"-plugin-arg-BiniouASTExporter"
|
"PREPEND_CURRENT_DIR=1"
|
"-plugin-arg-BiniouASTExporter"
|
"MAX_STRING_SIZE=65535" "-cc1"
|
"-triple"
|
"x86_64-unknown-linux-gnu"
|
"-fsyntax-only" "-disable-free"
|
"-disable-llvm-verifier"
|
"-discard-value-names"
|
"-main-file-name" "conf_to_src.c"
|
"-mrelocation-model" "pic"
|
"-pic-level" "2" "-mthread-model"
|
"posix" "-mdisable-fp-elim"
|
"-fmath-errno" "-masm-verbose"
|
"-mconstructor-aliases"
|
"-munwind-tables"
|
"-fuse-init-array" "-target-cpu"
|
"x86-64" "-dwarf-column-info"
|
"-debug-info-kind=limited"
|
"-dwarf-version=4"
|
"-debugger-tuning=gdb"
|
"-momit-leaf-frame-pointer"
|
"-resource-dir"
|
"/opt/infer-linux64-v0.17.0/lib/infer/facebook-clang-plugins/clang/install/lib/clang/8.0.0"
|
"-include"
|
"/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../lib/clang_wrappers/global_defines.h"
|
"-D" "DBUG_TRACE" "-D"
|
"DISABLE_MYSQL_THREAD_H" "-D"
|
"HAVE_CONFIG_H" "-D"
|
"_FILE_OFFSET_BITS=64" "-I"
|
"/home/dan/repos/mariadb-server-10.5/wsrep-lib/include"
|
"-I"
|
"/home/dan/repos/mariadb-server-10.5/wsrep-lib/wsrep-API/v26"
|
"-I"
|
"/home/dan/repos/build-mariadb-server-10.5/include"
|
"-I"
|
"/home/dan/repos/mariadb-server-10.5/include"
|
"-D" "NDEBUG" "-D"
|
"_FORTIFY_SOURCE=2" "-D"
|
"DBUG_OFF" "-internal-isystem"
|
"/usr/local/include"
|
"-internal-isystem"
|
"/opt/infer-linux64-v0.17.0/lib/infer/facebook-clang-plugins/clang/install/lib/clang/8.0.0/include"
|
"-internal-externc-isystem"
|
"/include"
|
"-internal-externc-isystem"
|
"/usr/include" "-O2" "-Wall"
|
"-Wdeclaration-after-statement"
|
"-Wextra" "-Wno-format-truncation"
|
"-Wno-init-self"
|
"-Wno-nonnull-compare"
|
"-Wno-unused-parameter" "-Wvla"
|
"-Wwrite-strings"
|
"-Wno-ignored-optimization-argument"
|
"-Wno-everything"
|
"-fconst-strings"
|
"-fdebug-compilation-dir"
|
"/home/dan/repos/build-mariadb-server-10.5/strings"
|
"-ferror-limit" "19"
|
"-fmessage-length" "0"
|
"-stack-protector" "1"
|
"-stack-protector-buffer-size" "4"
|
"-fobjc-runtime=gcc"
|
"-fdiagnostics-show-option"
|
"-vectorize-loops"
|
"-vectorize-slp" "-x" "c"
|
"/home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c"
|
"-O0" "-include"
|
"/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../lib/clang_wrappers/global_defines.h"
|
"-Wno-everything"
|
|
|
|
External Error: Error running compilation for 'strings/conf_to_src.c': /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../lib/wrappers/clang
|
@/tmp/cdb_clang_args.tmp.dffcbe.txt
|
-fsyntax-only
|
++Contents of '/tmp/cdb_clang_args.tmp.dffcbe.txt':
|
-DDBUG_TRACE -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/home/dan/repos/mariadb-server-10.5/wsrep-lib/include -I/home/dan/repos/mariadb-server-10.5/wsrep-lib/wsrep-API/v26 -I/home/dan/repos/build-mariadb-server-10.5/include -I/home/dan/repos/mariadb-server-10.5/include -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -O2 -g -DNDEBUG -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wdeclaration-after-statement -Wextra -Wno-format-truncation -Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Wvla -Wwrite-strings -o CMakeFiles/conf_to_src.dir/conf_to_src.c.o -c /home/dan/repos/mariadb-server-10.5/strings/conf_to_src.c
|
|
:
|
exited with code 1
|
...
|
Run the command again with `--keep-going` to try and ignore this error.
|
[dan@linux mariadb-server-10.5]$ infer run --compilation-database --keep-going ../build-mariadb-server-10.5/compile_commands.json
|
/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/infer: Unexpected anonymous argument: '../build-mariadb-server-10.5/compile_commands.json'.
|
Infer version v0.17.0
|
Copyright 2009 - present Facebook. All Rights Reserved.
|
Usage: infer command [options]
|
See `infer --help` for more information.
|