2026-05-08 08:55 ftp://ftp.de.debian.org/debian/pool/main/g/gnome-chemistry-utils/gnome-chemistry-utils_0.14.17.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --library=opengl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 504d1d2 (2026-05-08 01:41:59 +0200) count: 3303 3285 elapsed-time: 27.6 25.3 head-timing-info: old-timing-info: head results: gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:64:38: style: Parameter 'ei' can be declared as pointer to const. However it seems that 'gnumeric_molarmass' is a callback function, if 'ei' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:198:20: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:64:38: note: Parameter 'ei' can be declared as pointer to const gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:93:45: style: Parameter 'ei' can be declared as pointer to const. However it seems that 'gnumeric_monoisotopicmass' is a callback function, if 'ei' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:201:27: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:93:45: note: Parameter 'ei' can be declared as pointer to const gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:129:44: style: Parameter 'ei' can be declared as pointer to const. However it seems that 'gnumeric_chemcomposition' is a callback function, if 'ei' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:204:26: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:129:44: note: Parameter 'ei' can be declared as pointer to const gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:167:42: style: Parameter 'ei' can be declared as pointer to const. However it seems that 'gnumeric_elementnumber' is a callback function, if 'ei' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:207:24: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:167:42: note: Parameter 'ei' can be declared as pointer to const gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:185:42: style: Parameter 'ei' can be declared as pointer to const. However it seems that 'gnumeric_elementsymbol' is a callback function, if 'ei' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:210:24: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/gnumeric/functions.cc:185:42: note: Parameter 'ei' can be declared as pointer to const gnome-chemistry-utils-0.14.17/goffice/gchemutils.cc:368:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_DYNAMIC_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:45:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentType3D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.cc:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentType3D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:38:11: style: The destructor '~GOGChem3dApplication' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:38:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:38:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:40:7: style: The function 'ImportDocument' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:40:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:40:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:41:13: style: The function 'EditDocument' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:41:21: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:41:13: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:42:7: style: The function 'GetData' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:42:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:42:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:43:7: style: The function 'Render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:43:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:43:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:44:7: style: The function 'UpdateBounds' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:44:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:44:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:45:19: style: The function 'GetContentType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:45:27: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:45:19: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.cc:32:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:44:44: style:inconclusive: Function 'UpdateBounds' argument 1 names different: declaration 'gogcu' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/goffice/gogchem3dwin.cc:73:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.h:50:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentType2D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:176:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pActiveDoc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:183:24: style: Either there is a missing 'override', or the member function 'GOGcpApplication::OnFileClose' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.h:47:7: note: Either there is a missing 'override', or the member function 'GOGcpApplication::OnFileClose' can be static. gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:183:24: note: Either there is a missing 'override', or the member function 'GOGcpApplication::OnFileClose' can be static. gnome-chemistry-utils-0.14.17/goffice/gogcpapp.h:49:7: style: Either there is a missing 'override', or the member function 'GOGcpApplication::NoMoreDocsEvent' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.h:50:19: style:inconclusive: Either there is a missing 'override', or the member function 'GOGcpApplication::GetContentType' can be const. [functionConst] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:156:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:156:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/goffice/gogcpapp.cc:178:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/goffice/gogcpwin.cc:74:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Application [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcpwin.cc:90:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/goffice/gogcpwin.cc:31:73: style:inconclusive: Function 'GOGcpWindow' argument 2 names different: declaration 'gogcp' definition 'gogcu'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/goffice/gogcpwin.h:32:61: note: Function 'GOGcpWindow' argument 2 names different: declaration 'gogcp' definition 'gogcu'. gnome-chemistry-utils-0.14.17/goffice/gogcpwin.cc:31:73: note: Function 'GOGcpWindow' argument 2 names different: declaration 'gogcp' definition 'gogcu'. gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:50:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeCrystal [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:44:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AtomType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:127:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlFree [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:159:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pActiveDoc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:153:29: style: Either there is a missing 'override', or the member function 'GOGCrystalApplication::UpdateBounds' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:44:7: note: Either there is a missing 'override', or the member function 'GOGCrystalApplication::UpdateBounds' can be static. gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:153:29: note: Either there is a missing 'override', or the member function 'GOGCrystalApplication::UpdateBounds' can be static. gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:162:29: style: Either there is a missing 'override', or the member function 'GOGCrystalApplication::OnFileClose' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:47:7: note: Either there is a missing 'override', or the member function 'GOGCrystalApplication::OnFileClose' can be static. gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.cc:162:29: note: Either there is a missing 'override', or the member function 'GOGCrystalApplication::OnFileClose' can be static. gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:49:7: style: Either there is a missing 'override', or the member function 'GOGCrystalApplication::NoMoreDocsEvent' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:50:19: style:inconclusive: Either there is a missing 'override', or the member function 'GOGCrystalApplication::GetContentType' can be const. [functionConst] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:44:44: style:inconclusive: Function 'UpdateBounds' argument 1 names different: declaration 'gogcu' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:35:11: style: The destructor '~GOGCrystalApplication' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:38:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:35:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:40:7: style: The function 'ImportDocument' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:40:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:40:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:41:13: style: The function 'EditDocument' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:41:21: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:41:13: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:42:7: style: The function 'GetData' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:42:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:42:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:43:7: style: The function 'Render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:43:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:43:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:44:7: style: The function 'UpdateBounds' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:44:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:44:7: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:50:19: style: The function 'GetContentType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/goffice/gogcuapp.h:45:27: note: Virtual function in base class gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:50:19: note: Function in derived class gnome-chemistry-utils-0.14.17/goffice/gogcrystalwin.cc:95:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gccv/item.h:247:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_POINTER_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gccv/canvas.h:126:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gccv/canvas.cc:57:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gccv/text-tag.h:204:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/application.h:480:2: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_STATIC_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/about.cc:50:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAPSDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/about.cc:49:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/about.cc:55:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/about.cc:56:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/application.cc:1073:2: error: There is an unknown macro here somewhere. Configuration is required. If GCU_UPDATE_KEY is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/document.h:492:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/atom.h:485:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/brackets.h:199:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:190:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:279:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_STYLE_NORMAL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:358:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:437:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_STYLE_NORMAL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:491:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:498:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:527:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:349:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:438:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:529:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:582:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:603:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:130:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:133:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:135:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:142:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:149:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:198:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:201:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:207:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:214:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:222:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:230:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:232:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:234:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:242:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:262:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:306:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:318:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:330:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:339:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:347:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:356:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:357:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:360:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:361:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:365:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:366:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:370:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:371:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:375:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:376:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:380:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:381:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:385:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:386:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:389:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:390:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:394:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:458:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:481:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:514:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:517:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:522:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:522:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:524:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:529:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:532:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:533:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:533:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:544:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:545:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:546:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:549:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:557:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:561:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:562:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:565:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:566:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:576:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:582:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:613:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:616:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:617:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:617:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:101:24: style: The scope of the variable 'desc' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:102:6: style: The scope of the variable 'distance' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:264:21: style: The scope of the variable 'family' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:266:26: style: The scope of the variable 'desc' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:409:14: style: The scope of the variable 'name' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:424:24: style: The scope of the variable 'desc' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:425:6: style: The scope of the variable 'distance' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:261:16: style: Local variable 'iter' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:228:15: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:261:16: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:147:31: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gcp_font_sel_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:351:31: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:147:31: note: Parameter 'pspec' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:149:14: style: Variable 'fs' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:220:37: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gcp_font_sel_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:352:31: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:220:37: note: Parameter 'pspec' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:113:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:421:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcp/mechanism-arrow.h:176:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/text-object.h:206:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROT_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/molecule.cc:119:47: error: There is an unknown macro here somewhere. Configuration is required. If GCU_API_VER is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/step.h:69:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcp::Step::Validate' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcp/arrow.h:66:2: style: Class 'Arrow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcp/step.h:45:2: style: Class 'Step' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcp/step.cc:43:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcp/step.h:64:27: style:inconclusive: Function 'RemoveArrow' argument 1 names different: declaration 'arrow' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcp/target.h:81:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROT_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/theme.cc:354:2: error: There is an unknown macro here somewhere. Configuration is required. If GCU_UPDATE_KEY is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcp/view.h:332:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcr/document.h:564:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_RADIUS_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_RADIUS_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:85:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_EffectiveRadiusRatio [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_EffectiveRadiusRatio [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:146:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_RADIUS_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:194:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_EffectiveRadiusRatio [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:217:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_EffectiveRadiusRatio [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:240:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_x [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:96:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::HasCustomColor' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:127:12: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::GetColor' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:106:7: note: Either there is a missing 'override', or the member function 'gcr::Atom::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:127:12: note: Either there is a missing 'override', or the member function 'gcr::Atom::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:135:12: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::GetColor' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:107:7: note: Either there is a missing 'override', or the member function 'gcr::Atom::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:135:12: note: Either there is a missing 'override', or the member function 'gcr::Atom::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:158:14: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::GetSize' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:117:9: note: Either there is a missing 'override', or the member function 'gcr::Atom::GetSize' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:158:14: note: Either there is a missing 'override', or the member function 'gcr::Atom::GetSize' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:153:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::r' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:157:25: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::GetRadius' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:165:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Atom::IsCleaved' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:180:31: style:inconclusive: Function 'Distance' argument 1 names different: declaration 'x' definition 'dx'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:149:26: note: Function 'Distance' argument 1 names different: declaration 'x' definition 'dx'. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:180:31: note: Function 'Distance' argument 1 names different: declaration 'x' definition 'dx'. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:180:42: style:inconclusive: Function 'Distance' argument 2 names different: declaration 'y' definition 'dy'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:149:36: note: Function 'Distance' argument 2 names different: declaration 'y' definition 'dy'. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:180:42: note: Function 'Distance' argument 2 names different: declaration 'y' definition 'dy'. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:180:53: style:inconclusive: Function 'Distance' argument 3 names different: declaration 'z' definition 'dz'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/atom.h:149:46: note: Function 'Distance' argument 3 names different: declaration 'z' definition 'dz'. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:180:53: note: Function 'Distance' argument 3 names different: declaration 'z' definition 'dz'. gnome-chemistry-utils-0.14.17/libs/gcr/atom.cc:121:10: style: Variable 'Colors' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:50:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::X1' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:51:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::Y1' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:52:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::Z1' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:53:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::X2' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:54:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::Y2' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:55:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::Z2' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:62:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::Long' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:67:9: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::GetRadius' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/bond.h:74:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Bond::IsCleaved' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:32:11: warning: Member variable 'Cleavage::m_nh' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:32:11: warning: Member variable 'Cleavage::m_nk' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:32:11: warning: Member variable 'Cleavage::m_nl' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:32:11: warning: Member variable 'Cleavage::m_nPlanes' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:57:16: style:inconclusive: Technically the member function 'gcr::Cleavage::operator==' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.h:84:7: note: Technically the member function 'gcr::Cleavage::operator==' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:57:16: note: Technically the member function 'gcr::Cleavage::operator==' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:87:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:96:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:105:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:114:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:66:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:70:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:70:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:73:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:73:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:76:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:76:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:79:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:79:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:87:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:96:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:105:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:114:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:40:30: style:inconclusive: Function 'Cleavage' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.h:52:22: note: Function 'Cleavage' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:40:30: note: Function 'Cleavage' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:48:41: style:inconclusive: Function 'operator=' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.h:79:33: note: Function 'operator=' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:48:41: note: Function 'operator=' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:57:37: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.h:84:29: note: Function 'operator==' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:57:37: note: Function 'operator==' argument 1 names different: declaration 'ccCleavage' definition 'ccClivage'. gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:40:30: style: Parameter 'ccClivage' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:48:41: style: Parameter 'ccClivage' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcr/cleavage.cc:57:37: style: Parameter 'ccClivage' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcr/grid.cc:1069:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:93:13: warning: Member variable 'Line::m_nCleave' is not assigned a value in 'Line::operator='. [operatorEqVarError] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:250:14: style:inconclusive: Technically the member function 'gcr::Line::Xmin' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:138:9: note: Technically the member function 'gcr::Line::Xmin' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:250:14: note: Technically the member function 'gcr::Line::Xmin' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:255:14: style:inconclusive: Technically the member function 'gcr::Line::Ymin' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:142:9: note: Technically the member function 'gcr::Line::Ymin' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:255:14: note: Technically the member function 'gcr::Line::Ymin' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:260:14: style:inconclusive: Technically the member function 'gcr::Line::Zmin' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:146:9: note: Technically the member function 'gcr::Line::Zmin' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:260:14: note: Technically the member function 'gcr::Line::Zmin' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.h:150:9: style:inconclusive: Technically the member function 'gcr::Line::Long' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:161:12: style:inconclusive: Technically the member function 'gcr::Line::GetColor' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:189:7: note: Technically the member function 'gcr::Line::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:161:12: note: Technically the member function 'gcr::Line::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:169:12: style:inconclusive: Technically the member function 'gcr::Line::GetColor' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:195:7: note: Technically the member function 'gcr::Line::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:169:12: note: Technically the member function 'gcr::Line::GetColor' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.h:205:9: style:inconclusive: Technically the member function 'gcr::Line::GetRadius' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:182:12: style:inconclusive: Technically the member function 'gcr::Line::operator==' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:210:7: note: Technically the member function 'gcr::Line::operator==' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:182:12: note: Technically the member function 'gcr::Line::operator==' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.h:264:7: style:inconclusive: Technically the member function 'gcr::Line::IsCleaved' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:265:12: style:inconclusive: Technically the member function 'gcr::Line::GetRotation' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:274:7: note: Technically the member function 'gcr::Line::GetRotation' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:265:12: note: Technically the member function 'gcr::Line::GetRotation' can be const. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:313:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:330:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:331:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:285:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:289:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:289:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:292:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:292:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:313:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:211:59: style:inconclusive: Function 'Distance' argument 4 names different: declaration 'bFixed' definition 'bFixe'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:260:54: note: Function 'Distance' argument 4 names different: declaration 'bFixed' definition 'bFixe'. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:211:59: note: Function 'Distance' argument 4 names different: declaration 'bFixed' definition 'bFixe'. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:265:70: style:inconclusive: Function 'GetRotation' argument 4 names different: declaration 'th' definition 'theta'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcr/line.h:274:61: note: Function 'GetRotation' argument 4 names different: declaration 'th' definition 'theta'. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:265:70: note: Function 'GetRotation' argument 4 names different: declaration 'th' definition 'theta'. gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:72:19: style: Parameter 'clLine' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:93:30: style: Parameter 'clLine' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcr/line.cc:182:30: style: Parameter 'clLine' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:100:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MinEqMax [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:112:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MinEqMaxEq [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:124:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MinEqMax [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:186:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FoV [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcr/application.h:156:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcr::Application::IsEmpty' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.h:49:2: style: Class 'PrefsDlg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:146:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:147:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:185:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:188:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:189:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:190:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:212:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:74:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:79:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcr/prefs.cc:182:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/application.cc:73:97: error: There is an unknown macro here somewhere. Configuration is required. If API_VERSION is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:192:3: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:69:7: warning:inconclusive: Member variable 'Atom::m_Bonds' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:79:13: warning:inconclusive: Member variable 'Atom::m_Bonds' is not assigned a value in 'Atom::operator='. [operatorEqVarError] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.h:133:6: style:inconclusive: Technically the member function 'gcu::IsotopicPattern::GetMinMass' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.h:138:6: style:inconclusive: Technically the member function 'gcu::IsotopicPattern::GetMonoNuclNb' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.h:143:21: style:inconclusive: Technically the member function 'gcu::IsotopicPattern::GetMonoMass' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:96:17: style:inconclusive: Technically the member function 'gcu::SimpleValue::GetValue' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:175:6: style:inconclusive: Technically the member function 'gcu::Element::GetZ' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:179:14: style:inconclusive: Technically the member function 'gcu::Element::GetSymbol' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:184:7: style:inconclusive: Technically the member function 'gcu::Element::GetDefaultValence' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:190:11: style:inconclusive: Technically the member function 'gcu::Element::GetMaxBonds' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:196:7: style:inconclusive: Technically the member function 'gcu::Element::GetBestSide' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:205:14: style:inconclusive: Technically the member function 'gcu::Element::GetName' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:219:11: style:inconclusive: Technically the member function 'gcu::Element::GetValenceElectrons' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:224:11: style:inconclusive: Technically the member function 'gcu::Element::GetTotalValenceElectrons' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:229:11: style:inconclusive: Technically the member function 'gcu::Element::GetMaxValenceElectrons' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:246:21: style:inconclusive: Technically the member function 'gcu::Element::GetElectronicConfiguration' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:250:44: style:inconclusive: Technically the member function 'gcu::Element::GetNames' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:474:7: style:inconclusive: Technically the member function 'gcu::Object::IsLocked' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:94:14: style:inconclusive: Technically the member function 'gcu::Atom::Distance' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:84:9: note: Technically the member function 'gcu::Atom::Distance' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:94:14: note: Technically the member function 'gcu::Atom::Distance' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:128:7: style:inconclusive: Technically the member function 'gcu::Atom::GetCharge' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:183:11: style:inconclusive: Technically the member function 'gcu::Bond::IsCyclic' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/document.h:255:1: style:inconclusive: Either there is a missing 'override', or the member function 'gcu::Document::GetEmpty' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:118:15: style: Virtual function 'SetZ' is called from constructor 'Atom(int Z,double x,double y,double z=0.)' at line 62. Dynamic binding is not used. [virtualCallInConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:62:2: note: Calling SetZ gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:118:15: note: SetZ is a virtual function gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:118:15: style: Virtual function 'SetZ' is called from copy constructor 'Atom(Atom&a)' at line 72. Dynamic binding is not used. [virtualCallInConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:72:2: note: Calling SetZ gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:118:15: note: SetZ is a virtual function gnome-chemistry-utils-0.14.17/libs/gcu/value.h:79:2: style: Class 'SimpleValue' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.h:54:2: style: Class 'Matrix2D' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:165:2: style: Class 'Object' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/document.h:83:2: style: Class 'Document' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:55:2: style: Class 'Molecule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:64:2: style: Class 'Molecule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/vector.h:59:2: style: Class 'Vector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:83:11: style: The destructor '~SimpleValue' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:49:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:83:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:88:14: style: The function 'GetAsString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:54:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:88:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:92:9: style: The function 'GetAsDouble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:59:17: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:92:9: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:132:11: style: The destructor '~DimensionalValue' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:49:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:132:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:137:14: style: The function 'GetAsString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:54:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:137:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:141:9: style: The function 'GetAsDouble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:59:17: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:141:9: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:182:11: style: The destructor '~StringValue' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:49:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:182:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:187:14: style: The function 'GetAsString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:54:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:187:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:208:11: style: The destructor '~LocalizedStringValue' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:49:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:208:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:214:14: style: The function 'GetAsString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/value.h:54:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:214:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:77:11: style: The destructor '~Atom' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:169:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:77:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:99:7: style: The function 'GetCoords' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:314:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:99:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:205:21: style: The function 'Save' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:288:21: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:205:21: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:211:15: style: The function 'Load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:305:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:211:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:234:15: style: The function 'Move' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:323:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:234:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:242:15: style: The function 'Transform2D' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:334:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:242:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:251:7: style: The function 'SetProperty' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:531:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:251:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:259:14: style: The function 'GetProperty' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:540:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:259:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:283:14: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:561:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:283:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:61:11: style: The destructor '~Bond' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:169:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:61:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:103:21: style: The function 'Save' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:288:21: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:103:21: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:109:15: style: The function 'Load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:305:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:109:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:138:15: style: The function 'Move' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:323:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:138:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:146:15: style: The function 'Transform2D' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:334:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:146:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:155:7: style: The function 'SetProperty' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:531:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:155:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:163:14: style: The function 'GetProperty' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:540:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:163:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:234:7: style: The function 'OnLoaded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:545:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:234:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:239:14: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:561:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:239:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/document.h:87:11: style: The destructor '~Document' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:169:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/document.h:87:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/document.h:191:14: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:561:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/document.h:191:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:68:11: style: The destructor '~Molecule' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:169:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:68:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:75:7: style: The function 'AddChild' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:192:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:75:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:129:7: style: The function 'Clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:556:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:129:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:176:14: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:561:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:176:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/value.h:160:28: performance: Function 'GetValue()' should return member 'val' by const reference. [returnByReference] gnome-chemistry-utils-0.14.17/libs/gcu/document.h:204:24: performance: Function 'GetNewObjects()' should return member 'm_NewObjects' by const reference. [returnByReference] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:214:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:219:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:224:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:186:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:193:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:193:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:198:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:198:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:214:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:219:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:224:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:395:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:257:10: style: Local variable 'x' shadows outer function [shadowFunction] gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:148:9: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:257:10: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:257:13: style: Local variable 'y' shadows outer function [shadowFunction] gnome-chemistry-utils-0.14.17/libs/gcu/atom.h:153:9: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:257:13: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:381:16: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:361:40: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:381:16: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:69:19: style: Parameter 'a' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:79:30: style: Parameter 'a' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:94:30: style: Parameter 'pAtom' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:119:11: style: Variable 'Elt' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:260:13: style: Variable 'doc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:287:9: style: Variable 'Id' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:309:13: style: Variable 'doc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:318:13: style: Variable 'doc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:344:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:152:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:160:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:343:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:363:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/atom.cc:368:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:299:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:287:14: style:inconclusive: Technically the member function 'gcu::Bond::Get2DLength' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:213:9: note: Technically the member function 'gcu::Bond::Get2DLength' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:287:14: note: Technically the member function 'gcu::Bond::Get2DLength' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:295:14: style:inconclusive: Technically the member function 'gcu::Bond::GetAngle2DRad' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:220:9: note: Technically the member function 'gcu::Bond::GetAngle2DRad' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:295:14: note: Technically the member function 'gcu::Bond::GetAngle2DRad' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/document.h:181:7: style:inconclusive: Unhandled exception specification when calling function SetTarget(). [unhandledExceptionSpecification] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:144:7: note: Unhandled exception specification when calling function SetTarget(). gnome-chemistry-utils-0.14.17/libs/gcu/document.h:181:7: note: Unhandled exception specification when calling function SetTarget(). gnome-chemistry-utils-0.14.17/libs/gcu/document.h:181:7: style:inconclusive: Unhandled exception specification when calling function SetTarget(). [unhandledExceptionSpecification] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:196:24: note: Unhandled exception specification when calling function SetTarget(). gnome-chemistry-utils-0.14.17/libs/gcu/document.h:181:7: note: Unhandled exception specification when calling function SetTarget(). gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:124:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:129:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:137:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:140:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:146:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:149:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:99:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:106:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:106:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:109:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:109:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:113:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:113:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:124:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:129:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:137:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:146:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:342:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:122:36: style:inconclusive: Function 'LoadNode' argument 1 names different: declaration 'node' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:130:35: style:inconclusive: Function 'SaveNode' argument 1 names different: declaration 'xml' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:130:51: style:inconclusive: Function 'SaveNode' argument 2 names different: declaration 'node' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:190:9: style: Variable 'Id' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:278:30: style: Parameter 'pCycle' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:295:35: style: Parameter 'pAtom' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:314:31: style: Parameter 'oldAtom' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:282:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:270:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:274:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/bond.cc:281:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:38:8: warning: Member variable 'Chain::m_Molecule' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:72:2: style: Class 'Chain' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:44:2: style: Class 'Cycle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:94:11: style: The destructor '~Chain' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:169:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:94:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:189:14: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:561:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:189:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:48:11: style: The destructor '~Cycle' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:94:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:48:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:61:15: style: The function 'Erase' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:119:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:61:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:70:15: style: The function 'Insert' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:127:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:70:15: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:103:14: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/chain.h:189:14: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/cycle.h:103:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:138:31: style: Condition 'pAtom0->GetMolecule()!=m_Molecule' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:382:21: style: Condition 'cycle_pos=!0' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:42:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:44:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:45:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:68:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:70:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:73:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:77:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:89:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:100:56: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:112:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:116:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:126:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:131:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:151:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:162:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:181:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:184:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:194:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:197:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:212:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:217:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:245:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:261:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:316:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:127:8: style: The scope of the variable 'pAtom0' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:128:12: style: The scope of the variable 'mol' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:181:64: style: The scope of the variable 'pAtom0' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:375:14: style: Local variable 'cycle_pos' shadows outer argument [shadowArgument] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:319:62: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:375:14: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:375:29: style: Local variable 'cycle_size' shadows outer argument [shadowArgument] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:319:40: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:375:29: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:375:45: style: Local variable 'length' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:323:11: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:375:45: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:259:29: style: Parameter 'pBond' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:330:15: style: Variable 'last_bond' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:229:5: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:239:5: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:277:4: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:171:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:227:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:237:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:275:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:286:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:332:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:414:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/chem3ddoc.h:161:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROP_EX is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcu/chemistry.cc:149:74: style:inconclusive: Function 'gcu_element_get_ionization_energy' argument 2 names different: declaration 'N' definition 'rank'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/chemistry.h:250:74: note: Function 'gcu_element_get_ionization_energy' argument 2 names different: declaration 'N' definition 'rank'. gnome-chemistry-utils-0.14.17/libs/gcu/chemistry.cc:149:74: note: Function 'gcu_element_get_ionization_energy' argument 2 names different: declaration 'N' definition 'rank'. gnome-chemistry-utils-0.14.17/libs/gcu/chemistry.cc:154:74: style:inconclusive: Function 'gcu_element_get_electron_affinity' argument 2 names different: declaration 'N' definition 'rank'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/chemistry.h:263:74: note: Function 'gcu_element_get_electron_affinity' argument 2 names different: declaration 'N' definition 'rank'. gnome-chemistry-utils-0.14.17/libs/gcu/chemistry.cc:154:74: note: Function 'gcu_element_get_electron_affinity' argument 2 names different: declaration 'N' definition 'rank'. gnome-chemistry-utils-0.14.17/libs/gcu/cmd-context.cc:42:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:154:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fwd [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:58:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:64:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:70:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:77:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:83:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:88:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:92:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:134:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:141:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:156:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:160:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:201:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:201:55: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:154:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:158:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:162:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:243:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:134:64: style: The scope of the variable 'pAtom0' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:220:62: style: Parameter 'bond' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:216:40: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:45:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:50:76: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/cycle.cc:215:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/cylinder.cc:101:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/cylinder.cc:37:2: warning: Member variable 'CylinderPrivate::faces' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/cylinder.cc:54:34: warning: Class 'Cylinder' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/cylinder.cc:54:34: warning: Class 'Cylinder' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gnome-chemistry-utils-0.14.17/libs/gcu/cylinder.h:50:7: style: Class 'Cylinder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.h:62:2: style: Class 'Matrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.h:68:2: style: Class 'Matrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/dialog-owner.cc:49:37: performance: Function parameter 'name' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/application.h:123:14: style:inconclusive: Technically the member function 'gcu::Application::GetCurDir' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/application.h:221:21: style:inconclusive: Technically the member function 'gcu::Application::GetIconName' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/application.h:479:1: style:inconclusive: Technically the member function 'gcu::Application::GetScreenResolution' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/application.h:75:2: style: Class 'Application' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/application.h:79:11: style: The destructor '~Application' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/dialog-owner.h:53:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/application.h:79:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/application.h:475:1: performance: Function 'GetDocs()' should return member 'm_Docs' by const reference. [returnByReference] gnome-chemistry-utils-0.14.17/libs/gcu/dialog.cc:39:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/document.h:248:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROT_POINTER_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:422:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:528:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:687:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:838:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BODR_PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:816:37: style:inconclusive: Technically the member function 'gcu::Element::GetIonizationEnergy' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:256:29: note: Technically the member function 'gcu::Element::GetIonizationEnergy' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:816:37: note: Technically the member function 'gcu::Element::GetIonizationEnergy' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:821:37: style:inconclusive: Technically the member function 'gcu::Element::GetElectronAffinity' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:263:29: note: Technically the member function 'gcu::Element::GetElectronAffinity' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:821:37: note: Technically the member function 'gcu::Element::GetElectronAffinity' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:470:17: style: Condition 'buf' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:117:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:124:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:126:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:129:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:130:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:134:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:137:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:147:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:151:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:152:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:155:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:162:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:166:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:167:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:172:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:177:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:426:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:437:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:439:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:442:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:452:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:456:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:459:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:472:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:478:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:484:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:490:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:497:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:532:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:538:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:539:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:542:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:546:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:550:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:553:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:559:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:569:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:570:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:595:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:597:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:609:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:618:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:630:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:632:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:644:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:653:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:691:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:699:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:700:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:704:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:711:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:715:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:717:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:722:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:727:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:850:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:853:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:857:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:859:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:863:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:867:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:869:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:902:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:910:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:911:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:918:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:921:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:930:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:933:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:103:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:104:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:105:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:106:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:107:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:108:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:109:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:110:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:111:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:112:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:114:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:118:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:127:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:129:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:130:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:134:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:137:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:163:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:167:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:172:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:177:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:423:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:427:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:440:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:442:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:459:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:472:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:478:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:484:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:490:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:497:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:529:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:533:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:540:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:542:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:553:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:559:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:597:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:609:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:611:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:618:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:632:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:644:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:646:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:653:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:688:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:692:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:701:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:704:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:717:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:722:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:727:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:859:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:867:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:869:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:902:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:910:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:921:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:933:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:100:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:100:14: style: The scope of the variable 'num' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:101:16: style: The scope of the variable 'Z' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:121:11: style: The scope of the variable 'Elt' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:416:14: style: The scope of the variable 'num' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:417:16: style: The scope of the variable 'Z' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:430:11: style: The scope of the variable 'Elt' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:521:14: style: The scope of the variable 'num' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:522:16: style: The scope of the variable 'Z' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:681:8: style: The scope of the variable 'num' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:682:16: style: The scope of the variable 'Z' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:697:6: style: The scope of the variable 'minA' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:697:12: style: The scope of the variable 'maxA' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:697:18: style: The scope of the variable 'niso' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:847:21: style: The scope of the variable 'unit' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:417:16: style: Local variable 'Z' shadows outer function [shadowFunction] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:94:13: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:417:16: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:522:16: style: Local variable 'Z' shadows outer function [shadowFunction] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:94:13: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:522:16: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:682:16: style: Local variable 'Z' shadows outer function [shadowFunction] gnome-chemistry-utils-0.14.17/libs/gcu/element.h:94:13: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:682:16: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:911:14: style: Local variable 'val' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:858:14: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:911:14: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:919:12: style: Local variable 'val' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:858:14: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:919:12: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:931:12: style: Local variable 'val' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:858:14: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:931:12: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:208:38: performance: Function parameter 'Symbol' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:99:8: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:521:14: style: Variable 'num' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:521:20: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:861:20: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:844:6: style: Variable 'it' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:197:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:320:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:749:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:757:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/element.cc:943:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:229:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:64:13: warning: Member variable 'FormulaElt::start' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:64:13: warning: Member variable 'FormulaElt::end' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:122:15: warning: Member variable 'FormulaBlock::parenthesis' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:218:2: performance: Variable 'Symbol' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:407:22: style:inconclusive: Technically the member function 'gcu::Formula::GetMarkup' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:307:14: note: Technically the member function 'gcu::Formula::GetMarkup' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:407:22: note: Technically the member function 'gcu::Formula::GetMarkup' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:417:22: style:inconclusive: Technically the member function 'gcu::Formula::GetRawMarkup' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:315:14: note: Technically the member function 'gcu::Formula::GetRawMarkup' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:417:22: note: Technically the member function 'gcu::Formula::GetRawMarkup' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:254:15: style:inconclusive: Technically the member function 'gcu::Formula::AnalString' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:348:7: note: Technically the member function 'gcu::Formula::AnalString' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:254:15: note: Technically the member function 'gcu::Formula::AnalString' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:157:2: style: Class 'FormulaAtom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:297:2: style: Class 'Formula' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/residue.h:80:2: style: Class 'Residue' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:161:11: style: The destructor '~FormulaAtom' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:113:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:161:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:165:14: style: The function 'Markup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:117:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:165:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:169:14: style: The function 'Text' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:121:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:169:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:175:7: style: The function 'BuildRawFormula' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:128:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:175:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:179:6: style: The function 'GetValence' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:132:14: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:179:6: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:198:11: style: The destructor '~FormulaBlock' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:113:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:198:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:202:14: style: The function 'Markup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:117:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:202:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:206:14: style: The function 'Text' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:121:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:206:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:213:7: style: The function 'BuildRawFormula' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:128:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:213:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:217:6: style: The function 'GetValence' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:132:14: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:217:6: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:248:11: style: The destructor '~FormulaResidue' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:113:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:248:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:252:14: style: The function 'Markup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:117:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:252:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:256:14: style: The function 'Text' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:121:22: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:256:14: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:263:7: style: The function 'BuildRawFormula' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:128:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:263:7: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:267:6: style: The function 'GetValence' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:132:14: note: Virtual function in base class gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:267:6: note: Function in derived class gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:262:6: style: Condition '*sz' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:513:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:541:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:547:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:553:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:555:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:549:6: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:544:6: note: i is assigned gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:549:6: note: i is overwritten gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:258:11: style: The scope of the variable 'i' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:260:17: style: The scope of the variable 'r' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:484:13: style: The scope of the variable 'npo' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:485:15: style: The scope of the variable 'sz' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:396:26: performance: Function parameter 'entry' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:422:34: performance: Function parameter 'entry' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:482:30: style: Parameter 'formula' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:258:13: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:129:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:148:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:181:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:203:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:206:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:245:34: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:429:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:437:36: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:461:37: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:473:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:578:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:602:29: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:623:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:629:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:663:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:668:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:676:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:679:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/gldocument.cc:33:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_MaxDist [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:51:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Doc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Psi [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:80:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rotation [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:90:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:107:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:108:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:119:71: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:119:86: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:121:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/glview.cc:112:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.cc:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.cc:53:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.cc:171:22: style:inconclusive: Technically the member function 'gcu::IsotopicPattern::GetValues' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.h:159:6: note: Technically the member function 'gcu::IsotopicPattern::GetValues' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/isotope.cc:171:22: note: Technically the member function 'gcu::IsotopicPattern::GetValues' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/isotope.cc:108:62: style: Parameter 'pattern' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/isotope.cc:180:46: style: Parameter 'pattern' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/loader-error.cc:30:46: style:inconclusive: Function 'LoaderError' argument 1 names different: declaration '__arg' definition 'arg'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/loader-error.h:47:47: note: Function 'LoaderError' argument 1 names different: declaration '__arg' definition 'arg'. gnome-chemistry-utils-0.14.17/libs/gcu/loader-error.cc:30:46: note: Function 'LoaderError' argument 1 names different: declaration '__arg' definition 'arg'. gnome-chemistry-utils-0.14.17/libs/gcu/loader.cc:120:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.cc:237:11: warning: Member variable 'GLMatrix::x' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.cc:183:14: style:inconclusive: Technically the member function 'gcu::Matrix::Euler' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.h:140:7: note: Technically the member function 'gcu::Matrix::Euler' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/matrix.cc:183:14: note: Technically the member function 'gcu::Matrix::Euler' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.cc:31:11: warning:inconclusive: Member variable 'Matrix2D::x' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.cc:76:16: style:inconclusive: Technically the member function 'gcu::Matrix2D::Transform' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.h:83:7: note: Technically the member function 'gcu::Matrix2D::Transform' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.cc:76:16: note: Technically the member function 'gcu::Matrix2D::Transform' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.cc:55:41: style: Parameter 'cMat' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/matrix2d.cc:67:41: style: Parameter 'cMat' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcu/document.h:255:1: style:inconclusive: Technically the member function 'gcu::Document::GetEmpty' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:81:15: style: Virtual function 'AddAtom' is called from constructor 'Molecule(Atom*pAtom,ContentType ct=ContentType3D)' at line 56. Dynamic binding is not used. [virtualCallInConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:56:2: note: Calling AddAtom gnome-chemistry-utils-0.14.17/libs/gcu/molecule.h:81:15: note: AddAtom is a virtual function gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:118:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:121:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:423:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:182:32: style: The scope of the variable 'm' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:221:18: style: The scope of the variable 'fresidue' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:222:6: style: The scope of the variable 'valence' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:200:14: style: Variable 'starters' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:203:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:185:11: style: Variable 'ic' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:216:16: style: Unused variable: atoms [unusedVariable] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:69:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:137:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:151:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:152:20: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:158:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:162:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:173:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:176:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:184:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:202:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:227:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:285:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:297:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:382:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:388:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:400:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:510:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/molecule.cc:524:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:375:20: style: The member function 'gcu::Object::GetNextNodeByProp' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:370:13: note: The member function 'gcu::Object::GetNextNodeByProp' can be static. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:375:20: note: The member function 'gcu::Object::GetNextNodeByProp' can be static. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:392:20: style: The member function 'gcu::Object::GetNextNodeByName' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:389:13: note: The member function 'gcu::Object::GetNextNodeByName' can be static. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:392:20: note: The member function 'gcu::Object::GetNextNodeByName' can be static. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:70:11: warning: Class 'Object' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:70:11: warning: Class 'Object' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:300:6: style: Condition '!SaveChildren(xml,node)' is always false [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:300:20: note: Calling function 'SaveChildren' returns 1 gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:300:6: note: Condition '!SaveChildren(xml,node)' is always false gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:327:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:331:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:332:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:338:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:379:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:395:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:295:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:310:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:310:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:320:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:322:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:379:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:660:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:377:8: style: The scope of the variable 'txt' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:370:46: style:inconclusive: Function 'GetNodeByProp' argument 1 names different: declaration 'node' definition 'root'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:360:39: note: Function 'GetNodeByProp' argument 1 names different: declaration 'node' definition 'root'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:370:46: note: Function 'GetNodeByProp' argument 1 names different: declaration 'node' definition 'root'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:387:46: style:inconclusive: Function 'GetNodeByName' argument 1 names different: declaration 'node' definition 'root'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:380:39: note: Function 'GetNodeByName' argument 1 names different: declaration 'node' definition 'root'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:387:46: note: Function 'GetNodeByName' argument 1 names different: declaration 'node' definition 'root'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:52: style:inconclusive: Function 'AddType' argument 2 names different: declaration 'CreateFunc' definition 'Create'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:602:57: note: Function 'AddType' argument 2 names different: declaration 'CreateFunc' definition 'Create'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:52: note: Function 'AddType' argument 2 names different: declaration 'CreateFunc' definition 'Create'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:71: style:inconclusive: Function 'AddType' argument 3 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:251:40: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:247:39: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:251:40: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:32: performance: Function parameter 'TypeName' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:474:47: performance: Function parameter 'TypeName' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:542:50: performance: Function parameter 'Label' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:481:11: style: Variable 'name' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:180:11: style: Variable 'o' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:377:8: style: Variable 'txt' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:443:15: style: Variable 'owner' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:253:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:252:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:278:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:286:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:363:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:405:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:417:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:531:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:589:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:59:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:80:3: warning: Class 'Residue' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:80:3: warning: Class 'Residue' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:164:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:146:21: style: The scope of the variable 'n' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:160:22: style: The scope of the variable 'node_lang' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:160:34: style: The scope of the variable 'symbols' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:187:9: style: Local variable 'buf' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:138:8: note: Shadowed declaration gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:187:9: note: Shadow variable gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:135:15: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:93:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/residue.cc:254:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:132:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:164:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:415:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:453:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:53:15: style:inconclusive: Technically the member function 'gcu::SpaceGroups::GetSize' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:54:7: style:inconclusive: Technically the member function 'gcu::SpaceGroups::Inited' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.h:94:9: warning: The class 'Transform3d' defines member function with name 'operator*' also defined in its parent class 'Matrix'. [duplInheritedMember] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.h:156:9: note: Parent function 'Matrix::operator*' gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.h:94:9: note: Derived function 'Transform3d::operator*' gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.h:62:2: style: Class 'Transform3d' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.h:85:11: style: The destructor '~Transform3d' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.h:87:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.h:85:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.h:171:1: performance: Function 'GetHMName()' should return member 'm_HMName' by const reference. [returnByReference] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.h:183:1: performance: Function 'GetHallName()' should return member 'm_HallName' by const reference. [returnByReference] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:476:41: style: Condition 'group->m_Transforms.size()==0' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:469:32: note: Assuming that condition 'group->m_Transforms.size()' is not redundant gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:476:41: note: Condition 'group->m_Transforms.size()==0' is always true gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:493:42: style: Condition 'group->m_Transforms.size()==0' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:488:32: note: Assuming that condition 'group->m_Transforms.size()' is not redundant gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:493:42: note: Condition 'group->m_Transforms.size()==0' is always true gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:91:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:118:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:166:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:167:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:177:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:415:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:429:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:436:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:453:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:458:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:474:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:483:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:495:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:501:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:508:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:107:9: style: The scope of the variable 'name' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:120:9: style: The scope of the variable 'HMs' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:207:13: style: The scope of the variable 'j' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:208:8: style: The scope of the variable 'neg' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:422:9: style: The scope of the variable 's' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:423:7: style: The scope of the variable 'has_inverse' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:385:48: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'group' definition 'sg'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.h:140:37: note: Function 'operator==' argument 1 names different: declaration 'group' definition 'sg'. gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:385:48: note: Function 'operator==' argument 1 names different: declaration 'group' definition 'sg'. gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.h:171:1: performance: Function parameter 'val' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.h:183:1: performance: Function parameter 'val' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:328:44: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:472:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:481:6: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:491:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:506:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:72:35: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:308:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:325:37: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:350:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:391:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:394:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:399:34: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:413:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:424:33: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:426:34: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:471:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:479:63: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:490:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/spacegroup.cc:505:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:115:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:37:2: warning: Member variable 'SpherePrivate::detail' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:201:24: style:inconclusive: Technically the member function 'gcu::Sphere::indexOfVertex' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.h:57:24: note: Technically the member function 'gcu::Sphere::indexOfVertex' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:201:24: note: Technically the member function 'gcu::Sphere::indexOfVertex' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:57:30: warning: Class 'Sphere' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:57:30: warning: Class 'Sphere' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.h:69:2: style: Class 'Sphere' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcu/sphere.cc:109:9: style: Variable 'octahedronVertices' can be declared as const array [constVariable] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:71:21: warning: The class 'Transform3d' defines member function with name 'operator*' also defined in its parent class 'Matrix'. [duplInheritedMember] gnome-chemistry-utils-0.14.17/libs/gcu/matrix.h:156:9: note: Parent function 'Matrix::operator*' gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:71:21: note: Derived function 'Transform3d::operator*' gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:86:6: style: The scope of the variable 'n' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:86:12: style: The scope of the variable 'j' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:89:7: style: The scope of the variable 'neg' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:89:12: style: The scope of the variable 'first' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:53:34: performance: Function parameter 'row1' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:53:47: performance: Function parameter 'row2' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:53:60: performance: Function parameter 'row3' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/transform3d.cc:53:73: performance: Function parameter 'translation' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcu/ui-manager.h:52:49: style:inconclusive: Function 'ActivateActionWidget' argument 1 names different: declaration 'path' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcu/ui-manager.h:52:60: style:inconclusive: Function 'ActivateActionWidget' argument 2 names different: declaration 'activate' definition ''. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcu/value.cc:146:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/value.cc:215:15: warning: Either the condition 'i==end' is redundant or there is possible dereference of an invalid iterator: i. [derefInvalidIteratorRedundantCheck] gnome-chemistry-utils-0.14.17/libs/gcu/value.cc:204:57: note: Assignment 'end=vals.end()', assigned value is end=0 gnome-chemistry-utils-0.14.17/libs/gcu/value.cc:213:11: note: Assuming that condition 'i==end' is not redundant gnome-chemistry-utils-0.14.17/libs/gcu/value.cc:215:15: note: Dereference of an invalid iterator gnome-chemistry-utils-0.14.17/libs/gcu/vector.cc:46:24: style: Parameter 'd' can be declared as const array [constParameter] gnome-chemistry-utils-0.14.17/libs/gcu/window.cc:31:9: warning: Member variable 'Window::m_UIManager' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:304:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:177:5: style: Condition '!((!strcmp(tmp,"unknown"))&&(radius.type=GCU_RADIUS_UNKNOWN))' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:357:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'const GDate *'. [invalidPrintfArgType_sint] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:357:2: error: g_date_strftime format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:42:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:44:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:175:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:186:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:192:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:198:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:204:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:211:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:212:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:44:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:62:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:68:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:76:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:126:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:132:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:132:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:175:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:186:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:192:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:198:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:204:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:211:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:237:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:264:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:264:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:269:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:269:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:272:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:272:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:275:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:275:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:279:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:279:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:282:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:282:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:39:8: style: The scope of the variable 'tmp' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:174:14: style: The scope of the variable 'dot' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:174:14: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:295:4: error: Dangerous usage of c_str(). The value returned by c_str() is invalid after this call. [stlcstr] gnome-chemistry-utils-0.14.17/libs/gcu/xml-utils.cc:299:2: error: Dangerous usage of c_str(). The value returned by c_str() is invalid after this call. [stlcstr] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:84:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_RecentManager [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:96:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_CmdContext [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:102:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:120:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.h:102:2: style: Class 'Application' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.h:45:2: style: Class 'CmdContextGtk' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:51:2: style:inconclusive: Unhandled exception specification when calling function UIBuilder(). [unhandledExceptionSpecification] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:102:27: note: Unhandled exception specification when calling function UIBuilder(). gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:51:2: note: Unhandled exception specification when calling function UIBuilder(). gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:51:2: style:inconclusive: Unhandled exception specification when calling function UIBuilder(). [unhandledExceptionSpecification] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:120:27: note: Unhandled exception specification when calling function UIBuilder(). gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:51:2: note: Unhandled exception specification when calling function UIBuilder(). gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:104:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:105:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:108:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:109:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:111:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:112:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:122:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:123:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:125:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:126:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:128:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:129:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:81:39: performance: Function parameter 'name' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:81:57: performance: Function parameter 'datadir' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.cc:140:60: style: Parameter 'uri' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcugtk/chem3dapplication.h:106:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROT_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcugtk/printable.h:118:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcugtk/chem3dwindow.cc:128:22: error: There is an unknown macro here somewhere. Configuration is required. If API_VERSION is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_GOCmdContext [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ResponseOK [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:99:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:111:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:109:51: style: Parameter 'error' can be declared as pointer to const. However it seems that 'gcu_cc_gtk_error_error' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:151:25: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:109:51: note: Parameter 'error' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:124:54: style: Parameter 'cc' can be declared as pointer to const. However it seems that 'gcu_cc_gtk_get_password' is a callback function, if 'cc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:149:26: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:124:54: note: Parameter 'cc' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:131:55: style: Parameter 'cc' can be declared as pointer to const. However it seems that 'gcu_cc_gtk_set_sensitive' is a callback function, if 'cc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:150:26: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:131:55: note: Parameter 'cc' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:137:54: style: Parameter 'cc' can be declared as pointer to const. However it seems that 'gcu_cc_gtk_progress_set' is a callback function, if 'cc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:153:26: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:137:54: note: Parameter 'cc' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:142:62: style: Parameter 'cc' can be declared as pointer to const. However it seems that 'gcu_cc_gtk_progress_message_set' is a callback function, if 'cc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:154:32: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/libs/gcugtk/cmd-context-gtk.cc:142:62: note: Parameter 'cc' can be declared as pointer to const gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_windowname [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:109:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.h:101:11: style: The destructor '~Dialog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:55:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.h:101:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:74:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:79:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:82:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:85:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:88:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:92:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:108:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:108:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:109:78: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:109:133: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:117:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:117:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:118:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:118:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:119:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:127:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:127:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:128:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:128:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:129:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:137:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:137:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:137:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:138:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:138:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:139:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:147:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:147:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:148:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:148:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:149:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:157:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:158:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:158:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:159:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:167:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:168:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:168:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:169:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:177:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:178:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:178:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:179:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:187:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:188:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:188:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:189:135: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:208:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:70:172: style:inconclusive: Function 'Dialog' argument 7 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:43:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:36:14: warning: Member variable 'FileChooser::m_bSave' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:36:14: warning: Member variable 'FileChooser::m_pApp' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:40:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:140:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:41:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:41:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:49:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:50:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:61:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:63:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:64:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:66:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:75:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:77:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:78:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:78:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:79:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:79:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:83:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:96:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:96:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:102:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:129:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:130:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:138:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:147:58: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:155:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:119:24: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:53:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:67:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:106:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcugtk/filechooser.cc:118:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/libs/gcugtk/gcucomboperiodic.c:112:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcugtk/gcuperiodic.c:308:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcugtk/glapplication.h:54:2: style: Class 'GLApplication' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/libs/gcugtk/glapplication.h:59:11: style: The destructor '~GLApplication' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/libs/gcugtk/application.h:106:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/libs/gcugtk/glapplication.h:59:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/libs/gcugtk/glapplication.cc:45:43: performance: Function parameter 'name' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcugtk/glapplication.cc:45:61: performance: Function parameter 'datadir' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:51:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:62:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:85:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:95:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:93:15: style: The member function 'gcugtk::Message::Show' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.h:79:7: note: The member function 'gcugtk::Message::Show' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:93:15: note: The member function 'gcugtk::Message::Show' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:51:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:52:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:53:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:54:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:55:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:56:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:62:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:63:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:64:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:65:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:66:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:67:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:77:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:95:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/message.cc:48:50: style: Parameter 'message' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/libs/gcugtk/molecule.cc:165:58: error: There is an unknown macro here somewhere. Configuration is required. If GCU_API_VER is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/libs/gcugtk/window.h:52:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:93:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:212:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:64:2: performance: Variable 'Data' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/libs/gcugtk/window.h:57:57: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:77:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:91:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:92:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:95:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:96:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:111:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:115:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:116:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:117:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:131:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:146:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:161:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:178:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:193:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringdlg.cc:206:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringinputdlg.cc:37:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringinputdlg.cc:48:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringinputdlg.cc:38:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/stringinputdlg.cc:32:83: style:inconclusive: Function 'StringInputDlg' argument 3 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Builder [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:46:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Builder [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:52:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Builder [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:59:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Builder [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:69:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Builder [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:50:23: style: The member function 'gcugtk::UIBuilder::GetWidget' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:62:13: note: The member function 'gcugtk::UIBuilder::GetWidget' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:50:23: note: The member function 'gcugtk::UIBuilder::GetWidget' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:56:23: style: The member function 'gcugtk::UIBuilder::GetRefdWidget' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:68:13: note: The member function 'gcugtk::UIBuilder::GetRefdWidget' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:56:23: note: The member function 'gcugtk::UIBuilder::GetRefdWidget' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:67:21: style: The member function 'gcugtk::UIBuilder::GetObject' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.h:74:11: note: The member function 'gcugtk::UIBuilder::GetObject' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:67:21: note: The member function 'gcugtk::UIBuilder::GetObject' can be static. gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:37:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:53:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-builder.cc:62:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-manager.cc:40:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_UIManager [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/libs/gcugtk/ui-manager.h:48:2: style: Class 'UIManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:335:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_TYPE_PLUGIN_LOADER_MODULE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:97:2: performance: Variable 'MimeType' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:98:2: performance: Variable 'Xid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:61:7: style: Either there is a missing 'override', or the member function 'MozPaintApp::OnFileNew' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:109:22: warning: Class 'ChemComp' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:109:22: warning: Class 'ChemComp' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:158:41: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:175:41: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:179:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:192:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:139:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:179:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:192:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:216:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:218:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:221:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:81:28: style: Parameter 'name' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:94:45: style: Parameter 'mime_type' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:331:10: style: Variable 'error' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:312:10: style: Unused variable: filename [unusedVariable] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:213:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/mozilla-plugin/chem-viewer.cc:343:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/mozilla-plugin/moz-plugin.c:227:55: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:63:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/openbabel/socket.h:35:2: style: Class 'BabelSocket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:66:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:65:49: note: Assuming allocation function fails gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:65:41: note: Assignment 'path=reinterpret_cast(malloc(strlen("/tmp/babelsocket-")+strlen(usr)+1))', assigned value is 0 gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:66:10: note: Null pointer dereference gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:67:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:65:49: note: Assuming allocation function fails gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:65:41: note: Assignment 'path=reinterpret_cast(malloc(strlen("/tmp/babelsocket-")+strlen(usr)+1))', assigned value is 0 gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:67:10: note: Null pointer dereference gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:77:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:107:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:102:6: style: The scope of the variable 'service_socket' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:64:8: style: Variable 'usr' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:146:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:240:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INOPTIONS [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:131:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:150:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:159:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:178:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:187:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:236:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:249:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:258:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:267:18: style: Array index 'm_Cur' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:57:2: warning: Class 'BabelSocket' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:57:2: warning: Class 'BabelSocket' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:70:10: style: Condition 'res!=-1' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/openbabel/socket.cc:220:26: style: Variable 'oss' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeUnknown [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:715:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Node [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:778:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Node [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:867:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Bond [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:932:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Fragment [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:991:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Graphic [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1033:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_ReactionScheme [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1094:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Graphic [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_ReactionScheme [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1265:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1381:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_Text [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1548:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXProp_BoundingBox [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1570:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_COLOR_WHITE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1757:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1781:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1839:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXTag_Object [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1873:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ATOM_Z [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_BOND_ORDER [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXTag_Object [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2666:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2710:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXTag_Object [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2804:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2871:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCDXObj_ReactionStep [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2892:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3025:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_MOLECULE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::buf' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::bufsize' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_Charset' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::padding' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_Scheme' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_MaxId' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_Z' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_CHeight' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_FontSize' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_LabelFont' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_LabelFontSize' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_LabelFontFace' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_LabelFontColor' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_Scale' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:228:12: warning: Member variable 'CDXLoader::m_Zoom' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:748:19: style: Condition 'prop.length()' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:743:21: note: Assuming that condition 'prop.length()>0' is not redundant gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:748:19: note: Condition 'prop.length()' is always true gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:837:19: style: Condition 'prop.length()' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:832:21: note: Assuming that condition 'prop.length()>0' is not redundant gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:837:19: note: Condition 'prop.length()' is always true gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1998:17: style: Condition 'mol==NULL' is always false [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2796:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'GDate *'. [invalidPrintfArgType_sint] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2796:2: error: g_date_strftime format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:267:46: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:320:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:336:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:341:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:345:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:638:32: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:678:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:875:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1583:47: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1584:67: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1733:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1734:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1747:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1769:43: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1816:43: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1857:43: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2158:45: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2183:44: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2318:44: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2395:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2431:47: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2513:38: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2615:44: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2689:43: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2730:44: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2846:36: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:100:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:103:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:106:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:270:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:354:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:368:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:381:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:395:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:409:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:423:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:436:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:451:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:455:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:474:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:480:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:491:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:502:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:515:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:542:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:546:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:565:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:571:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:582:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:593:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:606:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:630:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:634:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:635:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:636:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:655:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:659:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:659:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:659:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:684:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:718:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:727:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:730:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:731:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:737:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:740:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:745:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:754:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:757:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:758:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:761:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:763:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:765:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:766:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:767:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:768:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:781:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:793:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:796:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:797:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:834:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:843:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:846:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:847:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:850:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:852:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:854:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:855:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:856:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:857:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:868:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:917:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:919:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:923:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:933:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:992:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1035:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1040:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1050:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1052:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1054:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1063:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1065:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1067:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1072:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1075:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1095:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1146:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1151:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1166:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1168:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1171:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1187:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1189:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1192:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1199:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1202:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1217:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1219:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1222:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1229:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1231:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1234:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1324:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1325:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1343:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1345:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1346:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1382:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1393:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1396:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1397:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1456:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1458:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1460:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1489:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1491:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1498:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1500:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1502:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1504:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1506:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1508:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1510:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1512:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1514:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1522:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1527:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1534:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1536:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1541:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1543:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1549:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1551:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1552:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1553:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1554:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1689:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1691:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1706:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1708:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1710:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1714:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1716:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1718:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1723:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1728:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1731:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1736:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1759:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1772:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1783:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1819:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1830:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1836:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1860:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1877:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1883:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1971:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1975:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2064:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2116:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2122:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2140:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2140:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2148:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2166:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2187:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2205:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2212:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2224:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2232:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2240:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2255:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2284:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2307:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2322:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2344:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2350:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2365:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2367:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2378:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2387:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2597:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2619:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2668:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2692:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2707:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2707:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2719:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2719:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2720:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2720:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2734:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2777:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2793:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2806:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2832:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2840:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2856:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2866:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2868:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2876:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2894:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2909:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2919:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2929:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2939:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2949:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2959:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2376:10: style: The scope of the variable 'interpret' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2377:20: style: The scope of the variable 'attrs0' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1262:12: style: Local variable 'buf' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:205:8: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1262:12: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1320:12: style: Local variable 'buf' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:205:8: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1320:12: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1321:11: style: Local variable 'bufsize' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:206:9: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1321:11: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1423:22: style: Local variable 'in' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1417:21: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1423:22: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1687:13: style: Local variable 'buf' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:205:8: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1687:13: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1935:23: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1935:23: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1959:19: style: Local variable 'mol' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1953:18: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1959:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1965:23: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1965:23: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2082:22: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2082:22: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2010:51: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1983:42: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2010:51: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2109:22: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2109:22: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2142:19: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2142:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2151:19: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2151:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2160:19: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2160:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2176:20: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1879:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2176:20: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2226:19: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2207:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2226:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2234:19: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2207:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2234:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2369:19: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2346:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2369:19: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2404:20: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2346:16: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2404:20: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2605:25: style: Local variable 'in' shadows outer argument [shadowArgument] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2337:37: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2605:25: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1944:27: style: Variable 'error' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2966:62: style: Parameter 'scheme' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1347:12: style: Variable 'new_text' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1909:19: style: Variable 'mol' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1916:18: style: Variable 'mol2' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1953:18: style: Variable 'mol' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2004:20: style: Variable 'mol2' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3409:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3409:81: style: Parameter 'cc' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:975:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1028:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1140:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1727:5: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:210:11: style: class member 'CDXLoader::m_Charset' is never used. [unusedStructMember] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:747:16: style: Variable 'prop2' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:836:16: style: Variable 'prop2' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1041:25: style: Unused variable: Ids [unusedVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1041:30: style: Unused variable: Ids_ [unusedVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:695:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:816:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:827:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:921:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:974:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1026:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1037:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1138:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1148:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1274:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1310:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1640:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1664:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1712:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1726:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:1732:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:2973:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3010:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3057:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3099:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3107:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3143:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3179:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3187:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:3236:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:123:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_DOC_COMMENT [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:216:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:379:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_BOND_ORDER [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:483:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_POS2D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:515:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_TEXT_MARKUP [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:585:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:656:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoleculeType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:781:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSF_XML_IN_NODE_END [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:941:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_REACTION_ARROW_TYPE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1061:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_MOLECULE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1331:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeUnknown [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1414:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ARROW_COORDS [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1464:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ARROW_START_ID [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1506:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_POS2D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1567:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ARROW_START_ID [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1657:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_POS2D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1687:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_FRAGMENT_ATOM_ID [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1759:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_BOND_BEGIN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1825:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1913:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1959:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_POS2D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2067:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_COLOR_WHITE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_MaxId' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_Z' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_LabelFont' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_Font' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_LabelFontFace' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_LabelFontColor' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_FontSize' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_LabelFontSize' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_Scale' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_Zoom' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:120:14: warning: Member variable 'CDXMLLoader::m_CHeight' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1803:8: style: Condition 'first' is always false [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1794:16: note: Assignment 'first=false', assigned value is 0 gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1803:8: note: Condition 'first' is always false gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:204:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:213:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:322:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:349:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:366:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:377:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:463:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:510:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:533:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:579:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:783:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:831:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:846:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:869:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:887:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:897:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:964:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:996:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:383:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:402:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:427:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:446:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:450:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:498:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:499:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:537:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:539:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:543:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:545:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:546:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:548:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:549:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:552:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:740:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:791:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:793:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:794:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:795:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:796:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:797:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:798:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:800:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:851:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:852:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:853:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:854:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:855:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:856:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:873:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:874:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:875:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:876:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:877:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:878:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:903:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:904:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:905:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:908:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:909:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:911:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:912:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:912:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:914:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:916:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:918:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:920:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1348:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1363:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:215:53: style: The scope of the variable 'x' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:467:8: style: The scope of the variable 'lowered' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:683:46: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:650:35: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:683:46: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:744:9: style: Local variable 'start' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1388:13: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:744:9: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1990:22: style: Local variable 'in' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1984:21: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1990:22: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1001:62: style: Parameter 'scheme' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2256:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2256:81: style: Parameter 'cc' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1449:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1551:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1861:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:114:19: style: class member 'CDXMLLoader::m_Font' is never used. [unusedStructMember] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2057:25: style: Unused variable: fonts [unusedVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1009:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1046:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1093:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1135:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1143:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1179:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1215:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1223:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1272:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1377:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1447:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1457:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1549:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1558:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1710:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1721:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1860:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1922:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:1937:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2139:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2163:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2204:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:2213:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:68:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_DOC_CREATOR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:120:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeCrystal [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:531:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_DOC_TITLE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:181:134: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:182:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:455:132: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:456:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:524:11: style: The scope of the variable 'i' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:365:25: style: Local variable 'buf' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:123:8: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:365:25: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:583:42: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:524:11: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:583:42: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:593:12: style: Local variable 'prop' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:523:14: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:593:12: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:608:16: style: Local variable 'type' shadows outer argument [shadowArgument] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:521:168: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:608:16: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:611:20: style: Local variable 'str' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:601:19: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:611:20: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:491:82: style: Parameter 'prop' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:500:76: style: Parameter 'prop' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:677:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:677:81: style: Parameter 'cc' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:294:18: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:311:18: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:329:19: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:363:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:266:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:276:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:354:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:384:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:393:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:630:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cif/cif.cc:642:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ATOM_SYMBOL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_BOND_BEGIN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_DOC_TITLE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:259:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_MAX [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:276:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:331:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ATOM_SYMBOL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:380:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_ATOM_PARITY [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_BOND_BEGIN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:421:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_BOND_TYPE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:433:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeCrystal [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:446:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_SPACE_GROUP [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:500:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSF_XML_IN_NODE_END [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:530:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeMisc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:580:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_PROP_DOC_TITLE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:240:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:251:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:271:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:286:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:303:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:318:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:328:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:360:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:376:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:389:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:416:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:432:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:442:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:454:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:470:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:502:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:290:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:291:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:305:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:336:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:338:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:341:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:343:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:347:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:349:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:395:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:397:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:398:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:400:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:540:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:92:10: style: The scope of the variable 'x' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:92:13: style: The scope of the variable 'y' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:108:10: style: The scope of the variable 'x' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:108:13: style: The scope of the variable 'y' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:108:16: style: The scope of the variable 'z' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:701:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:701:81: style: Parameter 'cc' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:149:31: style: Unused variable: fragments [unusedVariable] gnome-chemistry-utils-0.14.17/plugins/loaders/cml/cml.cc:169:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:157:11: warning: Comparison of a boolean expression with an integer other than 0 or 1. [compareBoolExpressionWithInt] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:157:14: style: Comparing expression of type 'bool' against value 2. Condition is always false. [compareValueOutOfTypeRangeError] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:105:8: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:281:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:282:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:81:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:83:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:84:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:88:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:90:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:92:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:93:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:94:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:95:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:97:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:98:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:99:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:101:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:103:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:104:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:108:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:109:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:110:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:111:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:113:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:114:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:115:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:116:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:136:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:137:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:138:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:139:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:140:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:142:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:143:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:144:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:145:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:146:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:148:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:149:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:150:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:151:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:152:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:153:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:154:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:155:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:156:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:159:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:160:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:162:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:163:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:164:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:198:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:199:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:205:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:206:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:207:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:230:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:235:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:238:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:246:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:248:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:251:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:253:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:268:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:271:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:284:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:285:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:296:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:298:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:301:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:303:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:98:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:99:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:101:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:114:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:115:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:116:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:136:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:137:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:138:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:139:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:140:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:149:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:150:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:151:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:152:2: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:153:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:154:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:155:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:156:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:160:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:162:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:163:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:199:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:205:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:206:3: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:268:4: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:271:5: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:284:6: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:285:6: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:296:5: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:298:5: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:301:6: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:303:6: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:79:52: style: The scope of the variable 'pgname' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:79:64: style: The scope of the variable 'nucleus' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:79:77: style: The scope of the variable 'solvent' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:341:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/loaders/nuts/nuts.cc:341:81: style: Parameter 'cc' can be declared as pointer to const [constParameterPointer] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:73:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:178:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:322:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:358:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReversibleArrow [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:368:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReversibleArrow [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:62:15: warning: Member variable 'gcpArrowTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:62:15: warning: Member variable 'gcpArrowTool::m_LengthBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.h:48:14: style: Either there is a missing 'override', or the member function 'gcpArrowTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.h:39:2: style: Class 'gcpArrowTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.h:38:2: style: Class 'gcpRetrosynthesisArrow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:436:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:201:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:372:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:426:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/arrowtool.cc:427:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_EndAtBondCenter [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:71:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:178:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:384:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:424:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:508:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:525:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MechanismArrowType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:544:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:588:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MechanismArrowType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:609:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MechanismArrowType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:656:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MechanismArrowType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:680:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:740:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:810:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:919:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dZoomFactor [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:982:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dZoomFactor [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:1032:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:1120:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_Target' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_SourceAux' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_LastTarget' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPx0' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPy0' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPx1' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPy1' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPx2' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPy2' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPx3' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_CPy3' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:21: warning: Member variable 'gcpCurvedArrowTool::m_SetEnd' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.h:49:14: style: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:584:26: style:inconclusive: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::AllowAsSource' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.h:54:7: note: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::AllowAsSource' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:584:26: note: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::AllowAsSource' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:650:26: style:inconclusive: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::AllowAsSource' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.h:56:7: note: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::AllowAsSource' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:650:26: note: Either there is a missing 'override', or the member function 'gcpCurvedArrowTool::AllowAsSource' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:510:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:511:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:808:81: style: The scope of the variable 'l' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:808:84: style: The scope of the variable 'dx' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:808:88: style: The scope of the variable 'dy' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:808:92: style: The scope of the variable 's' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:976:87: style: The scope of the variable 'a' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:639:17: style: Local variable 'obj' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:608:15: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:639:17: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:48:71: performance: Function parameter 'Id' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:632:14: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:640:15: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:925:9: style: Variable 'start' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/curvedarrowtool.cc:926:7: style: Variable 'end' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/plugin.cc:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable widget [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.h:53:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcpRetrosynthesisStep::Validate' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.h:55:32: style:inconclusive: Either there is a missing 'override', or the member function 'gcpRetrosynthesisStep::GetArrow' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/plugin.cc:82:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoleculeType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:411:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCP_MODIFY_OPERATION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:291:49: warning: Either the condition 'pObj' is redundant or there is possible null pointer dereference: reinterpret_cast(pObj). [nullPointerRedundantCheck] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:287:10: note: Assuming that condition 'pObj' is not redundant gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:291:49: note: Null pointer dereference gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:73:47: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:92:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:95:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:141:83: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:383:84: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:409:83: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:73:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:85:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:87:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:119:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:122:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:165:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:202:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:220:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:235:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:242:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:244:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:246:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:421:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:482:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:53:26: style: The scope of the variable 'arrow' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:9: style: The scope of the variable 'minright' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:19: style: The scope of the variable 'minleft' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:28: style: The scope of the variable 'x' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:31: style: The scope of the variable 'y' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:50: style: The scope of the variable 'l' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:53: style: The scope of the variable 'd' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:145:56: style: The scope of the variable 'ps' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:148:26: style: The scope of the variable 'arrow' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:77:42: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:463:17: style: Variable 'doc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:151:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:170:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:188:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:229:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:256:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:317:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:452:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:99:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:153:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:151:30: style:inconclusive: Either there is a missing 'override', or the member function 'gcpRetrosynthesisArrow::SetSelected' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.h:44:7: note: Either there is a missing 'override', or the member function 'gcpRetrosynthesisArrow::SetSelected' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:151:30: note: Either there is a missing 'override', or the member function 'gcpRetrosynthesisArrow::SetSelected' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:65:42: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:68:40: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:81:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:86:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:57:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:65:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:68:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:81:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:86:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:184:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:74:8: style: The scope of the variable 'buf' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:75:10: style: The scope of the variable 'parent' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:72:47: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:75:10: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:134:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RuleMayContain [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:37:24: warning: Member variable 'gcpRetrosynthesisStep::Arrow' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:37:24: warning: Member variable 'gcpRetrosynthesisStep::Precursor' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:78:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:150:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:53:10: style: The scope of the variable 'Child' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:86:45: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:53:18: style: Variable 'Group' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:265:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_dDist' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_dDistMax' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_Charge' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_Pos' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_DefaultPos' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_bDragged' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_ChargeWidth' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_ChargeTWidth' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:16: warning: Member variable 'gcpChargeTool::m_ChargeHeight' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.h:43:14: style: Either there is a missing 'override', or the member function 'gcpChargeTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:141:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:259:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/chargetool.cc:44:61: performance: Function parameter 'Id' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:121:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:45:18: warning: Member variable 'gcpElectronTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:45:18: warning: Member variable 'gcpElectronTool::m_dDistMax' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:45:18: warning: Member variable 'gcpElectronTool::m_dDist' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:45:18: warning: Member variable 'gcpElectronTool::m_Pos' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.h:39:14: style: Either there is a missing 'override', or the member function 'gcpElectronTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:67:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:183:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:235:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:113:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:227:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/electrontool.cc:45:65: performance: Function parameter 'Id' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:54:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:81:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_x [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:95:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:43:17: warning: Member variable 'gcpElementTool::m_x2' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:43:17: warning: Member variable 'gcpElementTool::m_y2' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.h:39:14: style: Either there is a missing 'override', or the member function 'gcpElementTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.h:33:2: style: Class 'gcpElementTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:57:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:59:4: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:99:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:108:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:116:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:129:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:131:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:135:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/elementtool.cc:106:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:139:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCP_MODIFY_OPERATION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:200:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:309:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Type [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:342:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Type [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:371:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_COLOR_BLACK [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:424:25: style: Either there is a missing 'override', or the member function 'gcpOrbital::HasPropertiesDialog' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.h:67:14: note: Either there is a missing 'override', or the member function 'gcpOrbital::HasPropertiesDialog' can be static. gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:424:25: note: Either there is a missing 'override', or the member function 'gcpOrbital::HasPropertiesDialog' can be static. gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:92:51: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:97:51: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:102:51: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:84:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:86:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:92:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:94:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:97:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:99:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:102:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:104:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:107:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:110:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:152:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:398:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:410:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:413:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbital.cc:413:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:158:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:168:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:188:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:208:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:280:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Color [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:40:17: warning: Member variable 'gcpOrbitalTool::m_CoefBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:40:17: warning: Member variable 'gcpOrbitalTool::m_RotationBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:40:17: warning: Member variable 'gcpOrbitalTool::m_RotationLbl' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:40:17: warning: Member variable 'gcpOrbitalTool::m_Preview' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.h:48:14: style: Either there is a missing 'override', or the member function 'gcpOrbitalTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.h:39:2: style: Class 'gcpOrbitalTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:209:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:213:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:222:51: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:225:51: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:228:51: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:216:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:219:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:220:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:222:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:223:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:225:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:226:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:228:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:229:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:235:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:236:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:250:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:251:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:120:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/orbitaltool.cc:331:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/plugin.cc:74:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable widget [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/plugin.cc:76:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/atoms/plugin.cc:78:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:65:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:182:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:287:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:405:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:418:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:446:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:462:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NormalBondType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:477:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergeAtoms [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:492:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:509:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergeAtoms [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:523:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:533:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:546:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:561:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UpBondType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:573:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCP_CONF_DIR_SETTINGS [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:594:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:612:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:625:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:640:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DownBondType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:654:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:670:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:682:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeBondType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:696:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:715:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:730:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UndeterminedBondType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::m_pAtom' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::BondOrder' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::m_LengthBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::m_AngleBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::m_MergeBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:14: warning: Member variable 'gcpBondTool::m_RefAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:50:14: style: Either there is a missing 'override', or the member function 'gcpBondTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:40:2: style: Class 'gcpBondTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:74:2: style: Class 'gcpUpBondTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:87:2: style: Class 'gcpForeBondTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:120:2: style: Class 'gcpSquiggleBondTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:75:11: style: The destructor '~gcpUpBondTool' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:41:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:75:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:78:15: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:53:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:78:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:79:15: style: The function 'UpdateBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:54:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:79:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:80:15: style: The function 'FinalizeBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:55:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:80:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:81:15: style: The function 'SetType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:56:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:81:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:88:11: style: The destructor '~gcpForeBondTool' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:41:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:88:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:91:15: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:53:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:91:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:92:15: style: The function 'UpdateBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:54:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:92:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:93:15: style: The function 'FinalizeBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:55:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:93:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:94:15: style: The function 'SetType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:56:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:94:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:101:11: style: The destructor '~gcpDownBondTool' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:41:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:101:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:106:15: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:53:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:106:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:107:15: style: The function 'UpdateBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:54:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:107:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:108:15: style: The function 'FinalizeBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:55:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:108:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:109:15: style: The function 'SetType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:56:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:109:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:121:11: style: The destructor '~gcpSquiggleBondTool' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:41:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:121:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:124:15: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:53:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:124:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:125:15: style: The function 'UpdateBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:54:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:125:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:126:15: style: The function 'FinalizeBond' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:55:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:126:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:127:15: style: The function 'SetType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:56:15: note: Virtual function in base class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.h:127:15: note: Function in derived class gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:94:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:96:5: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:100:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:106:38: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:107:48: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:117:38: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:118:29: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:119:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:120:29: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:149:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:183:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:220:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:222:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:298:36: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:301:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:322:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:324:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:355:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:355:40: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:364:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:367:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:382:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:434:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:447:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:455:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:456:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:457:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:493:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:495:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:497:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:533:7: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:547:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:612:7: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:626:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:671:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:716:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:151:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:172:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:224:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:235:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:278:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:326:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:348:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:63:6: style: The scope of the variable 'i' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:67:13: style: The scope of the variable 'pBond' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:105:34: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:63:6: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:105:34: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:116:34: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:63:6: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:116:34: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:364:15: style: Local variable 'pAtom' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:328:13: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:364:15: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:49:57: performance: Function parameter 'ToolId' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:156:12: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:158:13: style: Variable 'other' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:228:13: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:230:14: style: Variable 'other' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:379:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/bondtool.cc:387:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_nState [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:153:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BondType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:261:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:336:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergeAtoms [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:364:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:387:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergeAtoms [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:400:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dZoomFactor [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:461:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_PRESS [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:517:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_Positive' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_Allowed' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_dMeanLength' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_BondLength' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_LengthBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_AngleBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_NumberBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_MergeBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_AutoBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:47:15: warning: Member variable 'gcpChainTool::m_RefAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.h:55:14: style: Either there is a missing 'override', or the member function 'gcpChainTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.h:41:2: style: Class 'gcpChainTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:93:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:94:47: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:102:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:103:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:104:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:105:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:154:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:156:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:365:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:367:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:369:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:371:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:374:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:411:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.h:51:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:131:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:158:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:244:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:372:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:413:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:463:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:68:9: style: The scope of the variable 'a1' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:141:9: style: The scope of the variable 'x1' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:141:18: style: The scope of the variable 'y1' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:142:11: style: The scope of the variable 'nb' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:256:14: style: The scope of the variable 'Id' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:392:45: style: The scope of the variable 'a' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:430:17: style: Variable 'pDoc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:431:10: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:122:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:123:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:141:12: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:141:21: style: Variable 'y1' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:150:16: style: Variable 'dAngle' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/chaintool.cc:307:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/delocalizedtool.h:33:2: style: Class 'gcpDelocalizedTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:135:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:168:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:198:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:239:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_LengthBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_OrderBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_ForeBondsBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_RearBondsBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_ForeFirstAngleBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_RearFirstAngleBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_ForeBondAngleBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:120:16: warning: Member variable 'gcpNewmanTool::m_RearBondAngleBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.h:42:14: style: Either there is a missing 'override', or the member function 'gcpNewmanTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.h:34:2: style: Class 'gcpNewmanTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:240:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:242:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:245:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:248:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:251:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:254:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:257:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/newman.cc:260:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/bonds/plugin.cc:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable widget [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:84:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dZoomFactor [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:289:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:482:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:580:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:640:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:696:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergeAtoms [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:706:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:720:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergeAtoms [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:726:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:764:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:232:32: style: Array index 'k' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_LengthBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_MergeBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_dDefAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_dLength' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_pAtom' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_Start' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_End' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:59:15: warning: Member variable 'gcpCycleTool::m_Direct' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:53:14: style: Either there is a missing 'override', or the member function 'gcpCycleTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:84:16: style:inconclusive: Either there is a missing 'override', or the member function 'gcpNCycleTool::GetSize' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:762:27: warning: The class 'gcpNCycleTool' defines member function with name 'GetPropertyPage' also defined in its parent class 'gcpCycleTool'. [duplInheritedMember] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:704:26: note: Parent function 'gcpCycleTool::GetPropertyPage' gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:762:27: note: Derived function 'gcpNCycleTool::GetPropertyPage' gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:81:11: style: The destructor '~gcpNCycleTool' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:44:11: note: Virtual destructor in base class gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:81:11: note: Destructor in derived class gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:93:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:94:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:98:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:133:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:136:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:150:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:152:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:158:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:172:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:192:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:204:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:205:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:212:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:213:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:226:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:229:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:291:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:307:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:312:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:413:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:514:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:516:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:543:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:550:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:584:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:585:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:587:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:588:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:590:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:599:29: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:600:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:602:29: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:603:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:654:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:707:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:709:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:765:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:767:15: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:769:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:305:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:307:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:309:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:310:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:312:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:314:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:315:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:321:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:328:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:415:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:466:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:657:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:80:9: style: The scope of the variable 'a0' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:80:21: style: The scope of the variable 'b1' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:80:25: style: The scope of the variable 'b2' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:80:29: style: The scope of the variable 'm1' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:80:33: style: The scope of the variable 'm2' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:302:16: style: The scope of the variable 'pBond' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:351:14: style: The scope of the variable 't1' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:493:14: style: The scope of the variable 'Id' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:494:14: style: The scope of the variable 'item' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:636:14: style: The scope of the variable 'item' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:105:28: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:86:6: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:105:28: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:302:16: style: Variable 'pBond' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:638:20: style: Variable 'group' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:639:17: style: Variable 'pDoc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:429:12: style: Variable 'dAngle' is assigned a value that is never used. [unreadVariable] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:559:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/plugin.cc:80:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable widget [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/plugin.cc:97:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_END [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:85:13: warning: The class 'gcpNCycleTool' defines member function with name 'GetPropertyPage' also defined in its parent class 'gcpCycleTool'. [duplInheritedMember] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:50:13: note: Parent function 'gcpCycleTool::GetPropertyPage' gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.h:85:13: note: Derived function 'gcpNCycleTool::GetPropertyPage' gnome-chemistry-utils-0.14.17/plugins/paint/cycles/plugin.cc:93:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/plugin.cc:96:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/cycles/plugin.cc:99:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:91:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:106:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlIndentTreeOutput [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:195:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlIndentTreeOutput [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:47:20: warning: Member variable 'gcpResiduesPlugin::m_App' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.h:46:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcpPseudoAtom::AcceptNewBonds' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.h:47:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcpPseudoAtom::AcceptCharge' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.h:45:2: style: Class 'gcpResiduesDlg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:112:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:127:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:149:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:186:74: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:190:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:197:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:165:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:167:79: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:169:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:172:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:174:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:174:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:176:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:176:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:184:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:184:88: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:186:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:147:16: style: The scope of the variable 'r' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:182:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:182:24: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/plugin.cc:209:37: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:65:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:149:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_x [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:162:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:59:21: style: Either there is a missing 'override', or the member function 'gcpPseudoAtom::Update' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.h:39:7: note: Either there is a missing 'override', or the member function 'gcpPseudoAtom::Update' can be static. gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:59:21: note: Either there is a missing 'override', or the member function 'gcpPseudoAtom::Update' can be static. gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:155:21: style:inconclusive: Either there is a missing 'override', or the member function 'gcpPseudoAtom::LoadNode' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.h:44:7: note: Either there is a missing 'override', or the member function 'gcpPseudoAtom::LoadNode' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:155:21: note: Either there is a missing 'override', or the member function 'gcpPseudoAtom::LoadNode' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:142:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:126:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:142:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:139:38: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:155:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Document [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:223:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:344:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlIndentTreeOutput [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:357:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Page [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:396:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Page [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:454:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Document [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:158:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:165:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:166:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:182:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:185:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:198:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:202:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:223:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:239:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:257:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:263:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:273:123: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:283:89: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:292:155: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:318:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:325:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:346:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:488:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:113:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:114:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:123:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:124:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:129:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:130:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:148:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:162:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:163:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:164:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:165:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:193:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:195:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:197:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:199:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:200:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:203:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:204:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:223:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:224:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:226:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:230:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:232:77: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:234:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:239:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:240:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:242:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:257:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:258:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:260:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:262:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:263:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:264:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:266:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:273:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:281:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:292:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:305:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:307:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:307:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:308:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:308:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:310:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:310:75: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:313:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:313:72: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:410:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:463:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:490:10: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:487:39: note: i is initialized gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:490:10: note: i is overwritten gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:278:36: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:301:36: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:341:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:445:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:445:22: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/residues/residues-dlg.cc:490:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BracketsTypeNormal [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:74:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:166:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCP_MODIFY_OPERATION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:183:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:263:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RuleMayContain [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:50:18: warning: Member variable 'gcpBracketsTool::m_FontSel' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:50:18: warning: Member variable 'gcpBracketsTool::m_Rect' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:50:18: warning: Member variable 'gcpBracketsTool::m_Bracket' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:50:18: warning: Member variable 'gcpBracketsTool::m_FontSize' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:50:18: warning: Member variable 'gcpBracketsTool::m_Target' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:52:2: performance: Variable 'm_Type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:53:2: performance: Variable 'm_Used' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:66:23: style:inconclusive: Either there is a missing 'override', or the member function 'gcpBracketsTool::OnClicked' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.h:43:7: note: Either there is a missing 'override', or the member function 'gcpBracketsTool::OnClicked' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:66:23: note: Either there is a missing 'override', or the member function 'gcpBracketsTool::OnClicked' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.h:46:14: style: Either there is a missing 'override', or the member function 'gcpBracketsTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.h:40:2: style: Class 'gcpBracketsTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:184:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:187:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:191:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:192:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:206:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:249:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:288:4: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:264:41: note: i is initialized gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:288:4: note: i is overwritten gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:114:51: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:95:37: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:114:51: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:140:77: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:291:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:291:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/bracketstool.cc:306:58: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:44:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_bChanged [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:54:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:84:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:156:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:203:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.h:45:14: style: Either there is a missing 'override', or the member function 'gcpEraserTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.h:37:2: style: Class 'gcpEraserTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:70:36: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:73:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:93:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:118:38: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:121:28: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:128:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:131:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:212:36: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:215:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:110:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:112:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:187:27: style: Variable 'NewObjects' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/plugins/paint/selection/erasertool.cc:189:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:134:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BracketsType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BracketsType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:292:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:347:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OnChangedSignal [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:382:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BracketsType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:287:14: style: Boolean value assigned to floating point variable. [assignBoolToFloat] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:52:11: warning: Member variable 'gcpGroup::m_AlignType' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:52:11: warning: Member variable 'gcpGroup::m_Padding' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:91:16: style:inconclusive: Either there is a missing 'override', or the member function 'gcpGroup::GetAlignType' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.h:59:7: note: Either there is a missing 'override', or the member function 'gcpGroup::GetAlignType' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:91:16: note: Either there is a missing 'override', or the member function 'gcpGroup::GetAlignType' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:111:16: style:inconclusive: Either there is a missing 'override', or the member function 'gcpGroup::GetPadding' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.h:62:7: note: Either there is a missing 'override', or the member function 'gcpGroup::GetPadding' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:111:16: note: Either there is a missing 'override', or the member function 'gcpGroup::GetPadding' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:363:16: style: Either there is a missing 'override', or the member function 'gcpGroup::Transform2D' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.h:63:7: note: Either there is a missing 'override', or the member function 'gcpGroup::Transform2D' can be static. gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:363:16: note: Either there is a missing 'override', or the member function 'gcpGroup::Transform2D' can be static. gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:49:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:129:82: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:223:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:223:64: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:260:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:288:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:296:5: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:370:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:370:65: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:67:58: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:260:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:288:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:333:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:333:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:336:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:336:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:389:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:352:14: style: Redundant initialization for 'child'. The initialized value is overwritten before it is read. [redundantInitialization] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:351:22: note: child is initialized gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:352:14: note: child is overwritten gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:381:13: style: Redundant initialization for 'child'. The initialized value is overwritten before it is read. [redundantInitialization] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:380:21: note: child is initialized gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:381:13: note: child is overwritten gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:255:33: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:363:53: style: Parameter 'm' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:237:17: error: Out of bounds access in expression 'im' because 'Children' is empty. [containerOutOfBounds] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:224:9: note: Assuming condition is false gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:237:17: note: Access out of bounds gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:236:21: note: Assignment 'im=Children.begin()', assigned value is start=0 gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:237:17: note: Access out of bounds gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:240:9: error: Out of bounds access in expression 'im++' because 'Children' is empty. [containerOutOfBounds] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:224:9: note: Assuming condition is false gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:240:9: note: Access out of bounds gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:240:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:240:25: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:82:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:108:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCP_MODIFY_OPERATION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.h:54:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcpSelectionTool::CopySelection' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.h:44:2: style: Class 'gcpSelectionTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:49:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:49:49: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:50:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:51:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:52:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:53:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:54:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:82:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:159:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:62:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:63:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:73:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:169:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:170:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:171:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:173:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:175:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:182:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:185:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:113:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/groupdlg.cc:120:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:58:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:108:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:248:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Item [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:272:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pView [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:292:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pData [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pData [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:405:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:44:15: warning: Member variable 'gcpLassoTool::m_cx' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:44:15: warning: Member variable 'gcpLassoTool::m_cy' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:44:15: warning: Member variable 'gcpLassoTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:44:15: warning: Member variable 'gcpLassoTool::m_dAngleInit' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:44:15: warning: Member variable 'gcpLassoTool::m_pOp' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.h:42:7: style:inconclusive: Either there is a missing 'override', or the member function 'gcpLassoTool::CopySelection' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:427:27: style:inconclusive: Either there is a missing 'override', or the member function 'gcpLassoTool::GetHelpTag' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.h:44:14: note: Either there is a missing 'override', or the member function 'gcpLassoTool::GetHelpTag' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:427:27: note: Either there is a missing 'override', or the member function 'gcpLassoTool::GetHelpTag' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.h:34:2: style: Class 'gcpLassoTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:274:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:324:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:215:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:274:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:316:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:324:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:402:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:407:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:409:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:410:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:412:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:414:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:415:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:417:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:420:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:422:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:64:16: style: The scope of the variable 'group' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:255:16: style: The scope of the variable 'group' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:140:52: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:123:38: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:140:52: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:196:45: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:189:41: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:196:45: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:225:44: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:219:40: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:225:44: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:347:59: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:334:39: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:347:59: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:270:17: style: Variable 'pDoc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:306:31: performance: Searching before insertion is not necessary. Instead of 'SelectedWidgets[m_pData]=g_signal_connect_data(m_pData->Canvas,"destroy",OnWidgetDestroyed,this,NULL,(GConnectFlags)0)' consider using 'SelectedWidgets.try_emplace(m_pData, g_signal_connect_data(m_pData->Canvas,"destroy",OnWidgetDestroyed,this,NULL,(GConnectFlags)0));'. [stlFindInsert] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:304:49: style: Unused variable: i [unusedVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:65:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:70:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:168:78: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:192:58: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:221:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:256:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:262:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/lassotool.cc:338:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/plugin.cc:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable widget [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:90:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:136:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_x [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:185:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pView [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:266:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pData [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:301:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pData [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:336:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pData [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:384:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCP_MODIFY_OPERATION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:490:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:75:19: warning: Member variable 'gcpSelectionTool::m_cx' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:75:19: warning: Member variable 'gcpSelectionTool::m_cy' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:75:19: warning: Member variable 'gcpSelectionTool::m_dAngle' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:75:19: warning: Member variable 'gcpSelectionTool::m_dAngleInit' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:75:19: warning: Member variable 'gcpSelectionTool::m_pOp' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:75:19: warning: Member variable 'gcpSelectionTool::m_MergeBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:545:31: style:inconclusive: Either there is a missing 'override', or the member function 'gcpSelectionTool::GetHelpTag' can be const. [functionConst] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.h:63:14: note: Either there is a missing 'override', or the member function 'gcpSelectionTool::GetHelpTag' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:545:31: note: Either there is a missing 'override', or the member function 'gcpSelectionTool::GetHelpTag' can be const. gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:53:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:62:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:71:27: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:247:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:304:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:339:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:165:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:247:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:304:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:339:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:392:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:393:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:394:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:420:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:487:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:492:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:494:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:495:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:497:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:499:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:500:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:502:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:505:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:507:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:536:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:538:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:539:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:554:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:444:64: style: The scope of the variable 'rdesc' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:287:36: style: Local variable 'i' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:278:49: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:287:36: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:243:17: style: Variable 'pDoc' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:280:31: performance: Searching before insertion is not necessary. Instead of 'SelectedWidgets[m_pData]=g_signal_connect_data(m_pData->Canvas,"destroy",OnWidgetDestroyed,this,NULL,(GConnectFlags)0)' consider using 'SelectedWidgets.try_emplace(m_pData, g_signal_connect_data(m_pData->Canvas,"destroy",OnWidgetDestroyed,this,NULL,(GConnectFlags)0));'. [stlFindInsert] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:278:49: style: Unused variable: i [unusedVariable] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:128:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:189:58: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:318:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:386:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:430:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:430:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:433:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:436:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:443:59: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:450:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/selection/selectiontool.cc:460:64: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/category.cc:34:2: performance: Variable 'm_Name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/plugins/paint/templates/category.cc:41:2: performance: Variable 'm_Name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/plugins/paint/templates/category.h:42:2: style: Class 'gcpTemplateCategory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/templates/category.h:43:2: style: Class 'gcpTemplateCategory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.h:70:2: style: Class 'gcpTemplateTree' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.h:73:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.h:80:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:51:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TOOL_ITEM [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:26:60: style: Parameter 'tool_item_class' can be declared as pointer to const. However it seems that 'gtk_tool_combo_class_init' is a callback function, if 'tool_item_class' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:43:21: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:26:60: note: Parameter 'tool_item_class' can be declared as pointer to const gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:31:50: style: Parameter 'item' can be declared as pointer to const. However it seems that 'gtk_tool_combo_init' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:48:24: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/plugins/paint/templates/gtkcombotoolitem.c:31:50: note: Parameter 'item' can be declared as pointer to const gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:62:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.h:51:14: style: Either there is a missing 'override', or the member function 'gcpTemplateTool::GetHelpTag' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.h:39:2: style: Class 'gcpTemplateTool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:147:17: style: Condition '!node_lang' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:138:10: note: Assuming that condition 'node_lang' is not redundant gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:147:17: note: Condition '!node_lang' is always true gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:162:17: style: Condition '!node_lang' is always true [knownConditionTrueFalse] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:153:10: note: Assuming that condition 'node_lang' is not redundant gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:162:17: note: Condition '!node_lang' is always true gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:72:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:73:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:91:17: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:93:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:125:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:131:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:136:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:137:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:151:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:152:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:177:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:178:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:180:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:180:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:210:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:212:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:215:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:217:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:119:7: style: The scope of the variable 'lang_matched' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:119:21: style: The scope of the variable 'cat_matched' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:120:11: style: The scope of the variable 'category' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:122:8: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:228:37: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:232:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/plugin.cc:237:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pObject [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:117:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_x [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:126:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_x [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:163:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:221:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:267:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pApp [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:307:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:406:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlIndentTreeOutput [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:61:18: warning: Member variable 'gcpTemplateTool::m_DeleteBtn' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:61:18: warning: Member variable 'gcpTemplateTool::m_Book' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:61:18: warning: Member variable 'gcpTemplateTool::m_Width' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:61:18: warning: Member variable 'gcpTemplateTool::m_Height' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:299:24: warning: Member variable 'gcpNewTemplateToolDlg::temp' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:302:2: performance: Variable 'm_node' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:47:2: style: Class 'gcpNewTemplateToolDlg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:75:31: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:85:46: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:164:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:167:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:169:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:183:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:193:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:207:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:207:63: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:218:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:218:63: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:272:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:310:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:312:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:327:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:329:19: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:330:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:343:41: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:392:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:392:42: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:408:21: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:409:26: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:428:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:64:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:82:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:82:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:177:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:198:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:221:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:222:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:223:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:312:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:324:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:324:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:325:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:348:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:350:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:352:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:365:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:366:79: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:368:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:371:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:372:58: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:372:80: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:374:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:374:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:428:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:201:7: style: The scope of the variable 'page' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:359:15: style: Local variable 'temp' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:54:15: note: Shadowed declaration gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:359:15: note: Shadow variable gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:294:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetool.cc:317:20: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:205:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlIndentTreeOutput [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:37:14: warning: Member variable 'gcpTemplate::writeable' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:37:14: warning: Member variable 'gcpTemplate::w' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:37:14: warning: Member variable 'gcpTemplate::data' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:60:18: warning: Member variable 'gcpTemplateTree::combo' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:207:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:78:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:96:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:129:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:141:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:143:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:155:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:157:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:169:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:193:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:194:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:196:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:103:51: performance: Function parameter 'path' should be passed by const reference. [passedByValue] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:152:10: warning: Either the condition 'i!=Templates.end()' is redundant or there is possible dereference of an invalid iterator: i. [derefInvalidIteratorRedundantCheck] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:153:10: note: Assuming that condition 'i!=Templates.end()' is not redundant gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:152:10: note: Dereference of an invalid iterator gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:66:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:120:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:137:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:150:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:151:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:165:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:166:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/templates/templatetree.cc:239:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/plugins/paint/text/equation.h:71:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_RO_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/plugins/paint/text/texttool.h:111:1: error: There is an unknown macro here somewhere. Configuration is required. If GCU_PROP is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/programs/3d/application.cc:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Display3D [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/3d/application.h:36:2: style: Class 'gc3dApplication' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/3d/document.h:40:2: style: Class 'gc3dDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/3d/view.h:36:2: style: Class 'gc3dView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/3d/application.cc:47:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/3d/application.cc:54:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/3d/document.cc:48:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_View [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/3d/document.cc:46:3: error: Memory leak: title [memleak] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:66:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:37:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:65:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:86:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:59:18: style: The scope of the variable 'context' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:99:11: style: Local variable 'dir' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/programs/3d/main.cc:57:15: note: Shadowed declaration gnome-chemistry-utils-0.14.17/programs/3d/main.cc:99:11: note: Shadow variable gnome-chemistry-utils-0.14.17/programs/3d/main.cc:80:8: style: Variable 'dir' is allocated memory that is never used. [unusedAllocatedMemory] gnome-chemistry-utils-0.14.17/programs/3d/window.cc:54:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:122:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:139:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_UIManager [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:198:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:216:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:315:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:457:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOG_AXIS_ELEM_MIN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:481:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:550:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:695:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:124:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:130:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:146:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:431:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:432:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:523:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:530:6: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:553:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:720:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:743:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:744:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:745:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:749:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:772:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:773:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:782:14: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:206:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:219:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:257:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:288:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:290:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:306:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:331:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:334:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:673:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:694:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:710:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:722:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:735:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:742:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:750:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:756:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:763:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:765:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:778:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:779:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:799:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:803:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:804:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:144:11: style: The scope of the variable 'r' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:194:14: style: The scope of the variable 'mime' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:404:20: style: The scope of the variable 'x' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:404:24: style: The scope of the variable 'y' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:405:7: style: The scope of the variable 'n' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:405:16: style: The scope of the variable 'nb' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:405:20: style: The scope of the variable 'min' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:405:25: style: The scope of the variable 'max' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:405:30: style: The scope of the variable 'i' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:476:10: style: The scope of the variable 'buffer' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:477:8: style: The scope of the variable 'format' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:688:18: style: The scope of the variable 'context' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:462:22: style: Local variable 'error' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:327:10: note: Shadowed declaration gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:462:22: note: Shadow variable gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:346:17: style: Variable 'raw' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:65:12: style: class member 'GChemCalc::label' is never used. [unusedStructMember] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:196:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:351:37: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/calc/gchemcalc.cc:389:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/crystal/application.cc:42:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AtomType [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/application.cc:56:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pActiveDoc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/window.h:42:17: style: Either there is a missing 'override', or the member function 'gcWindow::GetApplication' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/programs/crystal/document.h:49:2: style: Class 'gcDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/crystal/view.h:42:2: style: Class 'gcView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/crystal/view.h:43:2: style: Class 'gcView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/crystal/application.cc:53:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Z [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:62:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:63:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:68:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:69:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:74:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:75:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:83:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:84:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:47:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:53:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:53:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:51:36: style:inconclusive: Function 'operator=' argument 1 names different: declaration '' definition 'caAtom'. [funcArgNamesDifferentUnnamed] gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:51:36: style: Parameter 'caAtom' can be declared as reference to const [constParameterReference] gnome-chemistry-utils-0.14.17/programs/crystal/cleavage.cc:44:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_nh [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/cleavage.cc:41:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/cleavage.cc:49:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/cleavage.cc:41:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/cleavage.cc:49:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:75:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Author [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:147:42: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:130:8: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:130:8: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:130:8: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:93:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:101:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:106:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:114:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:122:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:127:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:143:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:144:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:153:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:154:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:159:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:160:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:165:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:171:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:177:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:183:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:189:24: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:101:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:106:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:165:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:180:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:186:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:91:7: style: Variable 'node' is reassigned a value before the old one has been used. [redundantAssignment] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:73:7: note: node is assigned gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:91:7: note: node is overwritten gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:68:7: style: The scope of the variable 'bViewLoaded' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:56:40: style:inconclusive: Function 'gcDocument' argument 1 names different: declaration 'App' definition 'pApp'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/programs/crystal/document.h:49:29: note: Function 'gcDocument' argument 1 names different: declaration 'App' definition 'pApp'. gnome-chemistry-utils-0.14.17/programs/crystal/document.cc:56:40: note: Function 'gcDocument' argument 1 names different: declaration 'App' definition 'pApp'. gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:49:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineTypeName [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:49:40: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:46:8: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:60:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:61:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:66:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:67:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:75:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:76:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/line.cc:46:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:70:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:49:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:69:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:92:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:63:18: style: The scope of the variable 'context' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:85:17: style: Local variable 'pDoc' shadows outer variable [shadowVariable] gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:42:13: note: Shadowed declaration gnome-chemistry-utils-0.14.17/programs/crystal/main.cc:85:17: note: Shadow variable gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:37:9: warning: Member variable 'gcView::m_pMenu' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:63:16: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:64:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:71:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:72:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:82:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:83:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/crystal/view.cc:55:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/crystal/window.cc:63:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/paint/main.cc:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/paint/main.cc:43:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/paint/main.cc:81:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/paint/main.cc:99:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/paint/main.cc:73:18: style: The scope of the variable 'context' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:44:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pActiveDoc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_pActiveTarget [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_Window' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_UIManager' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_Book' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_Dock' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_Bar' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_statusId' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_MessageId' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:31:19: warning: Member variable 'gcpStandaloneApp::m_NumDoc' is not initialized in the constructor. [uninitMemberVar] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:46:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/paint/standaloneapp.cc:81:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_TYPE_PLUGIN_LOADER_MODULE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:92:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:153:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/document.h:36:2: style: Class 'gsvDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/spectra/view.h:37:2: style: Class 'gsvView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:133:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:40:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:67:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:95:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:161:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:79:15: style: The scope of the variable 'Doc' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:149:14: style: The scope of the variable 'mime' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:86:123: style:inconclusive: Function 'FileProcess' argument 5 names different: declaration 'pDoc' definition 'Doc'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/programs/spectra/application.h:44:113: note: Function 'FileProcess' argument 5 names different: declaration 'pDoc' definition 'Doc'. gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:86:123: note: Function 'FileProcess' argument 5 names different: declaration 'pDoc' definition 'Doc'. gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:168:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:151:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/spectra/application.cc:167:34: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/spectra/document.cc:46:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_View [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/gspectrum.cc:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/gspectrum.cc:42:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/gspectrum.cc:61:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/gspectrum.cc:35:18: style: The scope of the variable 'context' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/spectra/view.cc:31:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Window [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:138:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:163:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOG_AXIS_X [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:255:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:308:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Doc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:313:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Doc [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:341:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:397:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:311:17: style: The member function 'gsvWindow::OnFileOpen' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/programs/spectra/window.h:40:7: note: The member function 'gsvWindow::OnFileOpen' can be static. gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:311:17: note: The member function 'gsvWindow::OnFileOpen' can be static. gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:322:17: style: The member function 'gsvWindow::OnPageSetup' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/programs/spectra/window.h:41:7: note: The member function 'gsvWindow::OnPageSetup' can be static. gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:322:17: note: The member function 'gsvWindow::OnPageSetup' can be static. gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:395:17: style: The member function 'gsvWindow::OnCopy' can be static. [functionStatic] gnome-chemistry-utils-0.14.17/programs/spectra/window.h:43:7: note: The member function 'gsvWindow::OnCopy' can be static. gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:395:17: note: The member function 'gsvWindow::OnCopy' can be static. gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:257:13: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:291:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:383:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:390:6: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:112:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:114:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:130:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:158:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:182:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:185:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:187:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:260:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:263:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:264:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:271:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:287:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:288:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:293:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:296:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:298:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:299:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:300:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:301:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:318:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:336:10: style: The scope of the variable 'buffer' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:337:8: style: The scope of the variable 'format' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:282:26: style: Variable 'mime_types' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:37:55: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_delete_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:260:2: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:37:55: note: Parameter 'widget' can be declared as pointer to const gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:37:87: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_delete_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:260:2: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:37:87: note: Parameter 'event' can be declared as pointer to const gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:155:15: style: Variable 'rend' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/programs/spectra/window.cc:284:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.h:41:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.h:50:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:299:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:419:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:579:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCU_ERROR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:709:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:726:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.h:50:37: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.h:44:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:300:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:300:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:301:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:302:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:307:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:315:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:323:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:325:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:331:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:332:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:332:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:333:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:333:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:348:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:357:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:359:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:393:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:395:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:411:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:455:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:717:77: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:729:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:705:14: style: The scope of the variable 'mime' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:497:15: style: Variable 'value' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:665:15: style: Variable 'value' can be declared as reference to const [constVariableReference] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:46:47: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_quit' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:140:28: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:46:47: note: Parameter 'widget' can be declared as pointer to const gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:722:19: style: Variable 'curve' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-app.cc:707:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:491:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:529:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:552:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GO_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:584:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOG_TYPE_PLOT [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:110:12: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:117:6: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:283:30: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:311:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:325:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:334:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:365:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:377:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:386:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:395:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:404:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:413:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:418:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:436:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:492:11: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:501:54: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:511:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:524:23: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:529:32: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:530:2: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:291:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:297:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:299:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:321:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:324:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:328:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:330:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:333:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:337:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:343:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:344:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:347:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:348:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:351:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:352:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:355:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:361:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:368:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:373:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:376:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:380:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:382:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:385:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:389:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:391:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:394:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:398:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:400:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:403:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:407:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:409:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:412:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:416:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:432:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:529:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:542:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:544:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:580:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:59:10: style: The scope of the variable 'buffer' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:60:8: style: The scope of the variable 'format' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-curve.cc:574:15: style: Variable 'renderer' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-data-allocator.cc:68:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS_FULL is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-data.cc:114:1: error: There is an unknown macro here somewhere. Configuration is required. If GSF_CLASS is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:46:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:344:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:349:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_App [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:47:2: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:67:22: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:110:2: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:115:18: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:137:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:150:9: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:166:4: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:196:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:210:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:224:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:251:20: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:256:10: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:328:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:337:3: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:50:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:54:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:58:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:58:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:62:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:62:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:64:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:68:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:74:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:81:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:82:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:104:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:107:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:107:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:109:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:110:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:118:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:120:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:124:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:126:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:133:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:136:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:137:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:141:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:144:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:144:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:153:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:155:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:159:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:165:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:166:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:169:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:173:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:176:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:176:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:193:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:195:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:196:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:199:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:199:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:207:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:209:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:210:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:213:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:213:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:221:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:223:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:224:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:227:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:227:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:249:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:257:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:261:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:268:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:269:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:273:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:275:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:276:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:280:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:281:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:300:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:303:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:326:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:327:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:328:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:335:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:336:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:337:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:286:15: style: The scope of the variable 'cn' can be reduced. [variableScope] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:90:37: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:241:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-elt.cc:288:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-main.cc:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-main.cc:40:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/programs/table/gchemtable-main.cc:41:25: style: C-style pointer casting [cstyleCast] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:46:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBEXECDIR [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:74:15: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:43:3: error: Memory leak: path [memleak] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:39:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:38:22: note: Assuming allocation function fails gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:38:22: note: Assignment 'path=malloc(strlen("/tmp/babelsocket-")+strlen(usr)+1)', assigned value is 0 gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:39:10: note: Null pointer dereference gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:40:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:38:22: note: Assuming allocation function fails gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:38:22: note: Assignment 'path=malloc(strlen("/tmp/babelsocket-")+strlen(usr)+1)', assigned value is 0 gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:40:10: note: Null pointer dereference gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:35:20: style: Variable 'start' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:37:8: style: Variable 'usr' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:74:8: style: Variable 'size' can be declared as pointer to const [constVariablePointer] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:78:41: warning: Uninitialized variable: index [uninitvar] gnome-chemistry-utils-0.14.17/tests/testgcrcrystalviewer.c:53:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/tests/testgcuchem3dviewer.c:61:18: error: There is an unknown macro here somewhere. Configuration is required. If SRCDIR is a macro then please configure it. [unknownMacro] gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:77:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:39:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:37:45: style: Parameter 'periodic' can be declared as pointer to const. However it seems that 'on_changed' is a callback function, if 'periodic' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:98:2: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:37:45: note: Parameter 'periodic' can be declared as pointer to const gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:37:87: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_changed' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:98:2: note: You might need to cast the function pointer here gnome-chemistry-utils-0.14.17/tests/testgcuperiodic.c:37:87: note: Parameter 'data' can be declared as pointer to const gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:144:9: error: The one definition rule is violated, different classes/structs have the same name 'WriteTextState' [ctuOneDefinitionRuleViolation] gnome-chemistry-utils-0.14.17/plugins/loaders/cdxml/cdxml.cc:66:9: note: The one definition rule is violated, different classes/structs have the same name 'WriteTextState' gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:144:9: note: The one definition rule is violated, different classes/structs have the same name 'WriteTextState' gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:129:9: error: The one definition rule is violated, different classes/structs have the same name 'StepData' [ctuOneDefinitionRuleViolation] gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:303:9: note: The one definition rule is violated, different classes/structs have the same name 'StepData' gnome-chemistry-utils-0.14.17/plugins/loaders/cdx/cdx.cc:129:9: note: The one definition rule is violated, different classes/structs have the same name 'StepData' diff: head gnome-chemistry-utils-0.14.17/goffice/gogchem3dapp.h:44:44: style:inconclusive: Function 'UpdateBounds' argument 1 names different: declaration 'gogcu' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/goffice/gogcrystalapp.h:44:44: style:inconclusive: Function 'UpdateBounds' argument 1 names different: declaration 'gogcu' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcp/fontsel.cc:149:14: style: Variable 'fs' can be declared as pointer to const [constVariablePointer] head gnome-chemistry-utils-0.14.17/libs/gcp/step.h:64:27: style:inconclusive: Function 'RemoveArrow' argument 1 names different: declaration 'arrow' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:122:36: style:inconclusive: Function 'LoadNode' argument 1 names different: declaration 'node' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:130:35: style:inconclusive: Function 'SaveNode' argument 1 names different: declaration 'xml' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcu/bond.h:130:51: style:inconclusive: Function 'SaveNode' argument 2 names different: declaration 'node' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:138:31: style: Condition 'pAtom0->GetMolecule()!=m_Molecule' is always true [knownConditionTrueFalse] 2.20.0 gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:138:31: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:137:32: note: outer condition: pAtom0->GetMolecule()!=m_Molecule gnome-chemistry-utils-0.14.17/libs/gcu/chain.cc:138:31: note: identical inner condition: pAtom0->GetMolecule()!=m_Molecule 2.20.0 gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:645:15: style:inconclusive: Technically the member function 'gcu::Formula::BuildConnectivity' can be const. [functionConst] gnome-chemistry-utils-0.14.17/libs/gcu/formula.h:346:7: note: Technically the member function 'gcu::Formula::BuildConnectivity' can be const. gnome-chemistry-utils-0.14.17/libs/gcu/formula.cc:645:15: note: Technically the member function 'gcu::Formula::BuildConnectivity' can be const. head gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:52: style:inconclusive: Function 'AddType' argument 2 names different: declaration 'CreateFunc' definition 'Create'. [funcArgNamesDifferent] gnome-chemistry-utils-0.14.17/libs/gcu/object.h:602:57: note: Function 'AddType' argument 2 names different: declaration 'CreateFunc' definition 'Create'. gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:52: note: Function 'AddType' argument 2 names different: declaration 'CreateFunc' definition 'Create'. head gnome-chemistry-utils-0.14.17/libs/gcu/object.cc:469:71: style:inconclusive: Function 'AddType' argument 3 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcu/ui-manager.h:52:49: style:inconclusive: Function 'ActivateActionWidget' argument 1 names different: declaration 'path' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcu/ui-manager.h:52:60: style:inconclusive: Function 'ActivateActionWidget' argument 2 names different: declaration 'activate' definition ''. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcugtk/dialog.cc:70:172: style:inconclusive: Function 'Dialog' argument 7 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/libs/gcugtk/stringinputdlg.cc:32:83: style:inconclusive: Function 'StringInputDlg' argument 3 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] 2.20.0 gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:68:14: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:65:49: note: Assuming allocation function fails gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:65:41: note: Assignment 'path=reinterpret_cast(malloc(strlen("/tmp/babelsocket-")+strlen(usr)+1))', assigned value is 0 gnome-chemistry-utils-0.14.17/openbabel/babelserv.cc:68:14: note: Null pointer dereference head gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesis.cc:77:42: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisarrow.cc:72:47: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/plugins/paint/arrows/retrosynthesisstep.cc:86:45: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:638:20: style: Variable 'group' can be declared as pointer to const [constVariablePointer] head gnome-chemistry-utils-0.14.17/plugins/paint/cycles/cycletool.cc:639:17: style: Variable 'pDoc' can be declared as pointer to const [constVariablePointer] head gnome-chemistry-utils-0.14.17/plugins/paint/residues/pseudo-atom.cc:139:38: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/plugins/paint/selection/group.cc:255:33: style:inconclusive: Function 'Load' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head gnome-chemistry-utils-0.14.17/programs/crystal/atom.cc:51:36: style:inconclusive: Function 'operator=' argument 1 names different: declaration '' definition 'caAtom'. [funcArgNamesDifferentUnnamed] 2.20.0 gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:41:14: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:38:22: note: Assuming allocation function fails gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:38:22: note: Assignment 'path=malloc(strlen("/tmp/babelsocket-")+strlen(usr)+1)', assigned value is 0 gnome-chemistry-utils-0.14.17/tests/testbabelserver.c:41:14: note: Null pointer dereference DONE