2022-06-29 02:23 ftp://ftp.de.debian.org/debian/pool/main/l/lensfun/lensfun_0.3.95.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: 1852944 (2022-06-28 22:52:35 +0200) count: 196 195 elapsed-time: 28.5 49.4 head-timing-info: Tokenizer::simplifyTokens1: 9.01376s (avg. 0.219848s - 41 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 8.63746s (avg. 0.33221s - 26 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.187275s (avg. 0.00720288s - 26 result(s)) Tokenizer::createTokens: 0.073405s (avg. 0.0016683s - 44 result(s)) Other::runChecks: 0.042557s (avg. 0.00163681s - 26 result(s)) Overall time: 18.2042s old-timing-info: Tokenizer::simplifyTokens1: 15.8739s (avg. 0.387168s - 41 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 15.4911s (avg. 0.59581s - 26 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.190291s (avg. 0.00731888s - 26 result(s)) Tokenizer::createTokens: 0.071041s (avg. 0.00161457s - 44 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.042029s (avg. 0.0016165s - 26 result(s)) Overall time: 31.9138s head results: lensfun-0.3.95/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::red' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::green' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::blue' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::alpha' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::red' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::green' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::blue' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::alpha' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::filesize' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGetR' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGetG' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGetB' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGet' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::width' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::height' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.95/apps/lenstool/rgbpixel.h:79:7: style:inconclusive: Technically the member function 'RGBpixel::Intensity' can be const. [functionConst] lensfun-0.3.95/apps/lenstool/image.cpp:58:5: warning: Possible leak in public function. The pointer 'file' is not deallocated before it is allocated. [publicAllocationError] lensfun-0.3.95/apps/lenstool/rgbpixel.h:60:6: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/apps/lenstool/rgbpixel.h:64:6: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/apps/lenstool/rgbpixel.h:71:13: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/apps/lenstool/rgbpixel.h:77:15: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/apps/lenstool/rgbpixel.h:89:6: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/apps/lenstool/image.cpp:283:32: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/apps/lenstool/lenstool.cpp:282:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lensfunprv.h:219:10: performance:inconclusive: Technically the member function 'lfFuzzyStrCmp::Split' can be static (but you may consider moving to unnamed namespace). [functionStatic] lensfun-0.3.95/libs/lensfun/auxfun.cpp:370:21: note: Technically the member function 'lfFuzzyStrCmp::Split' can be static (but you may consider moving to unnamed namespace). lensfun-0.3.95/libs/lensfun/lensfunprv.h:219:10: note: Technically the member function 'lfFuzzyStrCmp::Split' can be static (but you may consider moving to unnamed namespace). lensfun-0.3.95/libs/lensfun/lensfunprv.h:220:10: performance:inconclusive: Technically the member function 'lfFuzzyStrCmp::Free' can be static (but you may consider moving to unnamed namespace). [functionStatic] lensfun-0.3.95/libs/lensfun/auxfun.cpp:363:21: note: Technically the member function 'lfFuzzyStrCmp::Free' can be static (but you may consider moving to unnamed namespace). lensfun-0.3.95/libs/lensfun/lensfunprv.h:220:10: note: Technically the member function 'lfFuzzyStrCmp::Free' can be static (but you may consider moving to unnamed namespace). lensfun-0.3.95/libs/lensfun/auxfun.cpp:112:23: style: Condition 'lang' is always true [knownConditionTrueFalse] lensfun-0.3.95/libs/lensfun/auxfun.cpp:96:9: note: Assuming condition '!lang' is false lensfun-0.3.95/libs/lensfun/auxfun.cpp:112:23: note: Condition 'lang' is always true lensfun-0.3.95/libs/lensfun/auxfun.cpp:103:15: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/auxfun.cpp:114:11: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/auxfun.cpp:135:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/auxfun.cpp:423:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/auxfun.cpp:430:42: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:215:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:631:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:692:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:1389:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:1390:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:1399:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:1400:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/database.cpp:1132:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lensfun-0.3.95/libs/lensfun/database.cpp:1444:9: style: The scope of the variable 'score' can be reduced. [variableScope] lensfun-0.3.95/libs/lensfun/database.cpp:1264:20: style: Variable 'mc' can be declared as reference to const [constVariable] lensfun-0.3.95/libs/lensfun/database.cpp:1507:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] lensfun-0.3.95/libs/lensfun/lens.cpp:133:19: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:141:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:1462:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:1465:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:1468:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:1471:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:1474:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/lens.cpp:272:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] lensfun-0.3.95/libs/lensfun/lens.cpp:658:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] lensfun-0.3.95/libs/lensfun/mod-color.cpp:165:19: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-color.cpp:286:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-color.cpp:322:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:506:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:517:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:567:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:586:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:627:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:646:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:688:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:711:39: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:737:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:761:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:782:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:783:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:799:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:800:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:815:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:816:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:838:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:839:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:863:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:864:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:891:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:905:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:906:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:942:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:943:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:964:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:965:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:976:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:977:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:988:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:989:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1018:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1019:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1055:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1056:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1090:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1091:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1108:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1109:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1137:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1164:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1165:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1195:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-coord.cpp:1196:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-pc.cpp:545:54: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] lensfun-0.3.95/libs/lensfun/mod-pc.cpp:715:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-pc.cpp:739:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:186:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:204:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:284:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:333:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:349:11: style: The scope of the variable 'x' can be reduced. [variableScope] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:349:14: style: The scope of the variable 'y' can be reduced. [variableScope] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:349:17: style: The scope of the variable 'ru2' can be reduced. [variableScope] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:349:22: style: The scope of the variable 'ru4' can be reduced. [variableScope] lensfun-0.3.95/libs/lensfun/mod-subpix.cpp:349:27: style: The scope of the variable 'common_term' can be reduced. [variableScope] lensfun-0.3.95/libs/lensfun/mount.cpp:63:19: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/libs/lensfun/mount.cpp:71:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_database.cpp:31:37: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_database_old.cpp:30:37: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_lens.cpp:13:37: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_lffuzzystrcmp.cpp:26:27: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier.cpp:64:40: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_color.cpp:97:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:122:30: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:127:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:141:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:145:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:217:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:252:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:97:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:126:30: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:131:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:145:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:149:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:221:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color_old.cpp:256:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_centering.cpp:67:62: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:68:62: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:43:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:68:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:83:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:139:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:189:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:43:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:73:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:88:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:144:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:191:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:45:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:68:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:83:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:140:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:186:30: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:45:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:72:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:87:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:144:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:190:30: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_perspective_correction.cpp:80:63: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:91:63: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_coord_scale.cpp:41:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale.cpp:61:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale.cpp:75:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale.cpp:157:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:42:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:69:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:84:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:166:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_coord_tiny_image.cpp:53:72: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_coord_tiny_image_old.cpp:59:72: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_old.cpp:67:40: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_performance.cpp:64:37: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_regression.cpp:38:37: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_regression_old.cpp:37:37: error: syntax error [syntaxError] lensfun-0.3.95/tests/test_modifier_subpix.cpp:43:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix.cpp:68:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix.cpp:83:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix.cpp:139:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix.cpp:183:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:43:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:73:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:88:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:144:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:186:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_distortion.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_geometry.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_scale.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_scale.cpp:31:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_subpix.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_subpix.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.95/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' diff: head lensfun-0.3.95/libs/lensfun/database.cpp:1264:20: style: Variable 'mc' can be declared as reference to const [constVariable] DONE