2026-07-24 23:33 ftp://ftp.de.debian.org/debian/pool/main/p/pstoedit/pstoedit_4.3.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=cairo --library=motif --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 1ef5ef3 (2026-07-24 19:54:54 +0200) count: 353 354 elapsed-time: 4.9 2.4 head-timing-info: old-timing-info: head results: pstoedit-4.3/contrib/cairo/cairo-example.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/getini.c:29:1: error: Code 'using namespace std' is invalid C code. [syntaxError] pstoedit-4.3/contrib/cairo/cairo-example.c:116:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myfig_width [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/wgsver.c:356:11: error: syntax error [syntaxError] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGuiMain.cpp:59:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/cppcomp.h:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/cbstream.cpp:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/cbstream.cpp:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:111:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:54:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:80:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:132:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HINSTANCE_ERROR [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:355:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:216:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:423:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:53:18: style: The function 'transferValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:44:18: note: Virtual function in base class pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:53:18: note: Function in derived class pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:63:18: style: The function 'transferValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:44:18: note: Virtual function in base class pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:63:18: note: Function in derived class pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:74:18: style: The function 'transferValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:44:18: note: Virtual function in base class pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.h:74:18: note: Function in derived class pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:388:38: style: Condition 'count' is always true [knownConditionTrueFalse] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:379:7: note: Assuming that condition 'count' is not redundant pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:388:38: note: Condition 'count' is always true pstoedit-4.3/contrib/cairo/cairo-example.c:140:26: style: Parameter 'argv' can be declared as const array [constParameter] pstoedit-4.3/othersrc/gsdllinc/iapi.h:395:28: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:166:12: error: Uninitialized variable: flag [uninitvar] pstoedit-4.3/othersrc/gsdllinc/dwmaincgsdll.c:133:6: style: Variable 'flag' is not assigned a value. [unassignedVariable] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGuiMain.cpp:34:32: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:157:26: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:159:29: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:161:23: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:163:28: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:165:24: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:167:22: style: C-style pointer casting [cstyleCast] pstoedit-4.3/othersrc/gsdllinc/callgsdllviaiapi.cpp:169:16: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/miscutil.h:107:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pstoedit-4.3/othersrc/gsdllinc/iapi.h:395:28: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ends [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:79:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aboutQt [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RichText [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:237:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int_ty [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:341:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:462:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowModal [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:500:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:545:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TolerantMode [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:553:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:590:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLessSafeRedirectPolicy [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:604:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:614:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrictMode [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:618:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrictMode [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/poptions.h:148:15: style: The function 'copyValueFromArgcArgv' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:109:15: note: Virtual function in base class pstoedit-4.3/src/poptions.h:148:15: note: Function in derived class pstoedit-4.3/src/poptions.h:152:15: style: The function 'copyValueFromString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:110:15: note: Virtual function in base class pstoedit-4.3/src/poptions.h:152:15: note: Function in derived class pstoedit-4.3/src/poptions.h:157:22: style: The function 'gettypename' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:111:22: note: Virtual function in base class pstoedit-4.3/src/poptions.h:157:22: note: Function in derived class pstoedit-4.3/src/poptions.h:160:23: style: The function 'gettypeID' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:112:23: note: Virtual function in base class pstoedit-4.3/src/poptions.h:160:23: note: Function in derived class pstoedit-4.3/src/poptions.h:177:17: style: The function 'GetAddrOfValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:113:17: note: Virtual function in base class pstoedit-4.3/src/poptions.h:177:17: note: Function in derived class pstoedit-4.3/src/base64writer.cpp:82:20: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/base64writer.cpp:90:20: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/base64writer.cpp:112:21: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/base64writer.cpp:54:16: style: The scope of the variable 'this_ch' can be reduced. [variableScope] pstoedit-4.3/src/miscutil.cpp:427:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/poptions.cpp:191:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ends [valueFlowBailoutIncompleteVar] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:119:11: style: Variable 'cur_sheet' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:436:14: style: Variable 'verboseOption' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:538:14: style: Variable 'verboseOption' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:470:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:473:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/QT/PstoeditQtGui/PstoeditQtGui.cpp:473:79: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/callgs.cpp:677:19: style: Condition 'PIOptions==nullptr' is always true [knownConditionTrueFalse] pstoedit-4.3/src/callgs.cpp:675:37: note: Calling function 'getOSspecificOptions' returns 0 pstoedit-4.3/src/callgs.cpp:675:37: note: Assignment 'PIOptions=getOSspecificOptions(verbose,errstream,buffer,sizeof(buffer))', assigned value is 0 pstoedit-4.3/src/callgs.cpp:677:19: note: Condition 'PIOptions==nullptr' is always true pstoedit-4.3/src/callgs.cpp:627:64: style: Parameter 'errstream' can be declared as reference to const [constParameterReference] pstoedit-4.3/src/callgs.cpp:627:81: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] pstoedit-4.3/src/drvbase.h:777:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:786:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:793:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:800:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curtype [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:812:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:818:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curtype [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:823:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvcfdg.cpp:34:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvmma.cpp:78:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable floatfield [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvmpost.cpp:61:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/miscutil.cpp:203:19: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] pstoedit-4.3/src/miscutil.cpp:808:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pstoedit-4.3/src/miscutil.cpp:810:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pstoedit-4.3/src/drvasy.cpp:494:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/miscutil.cpp:229:36: style:inconclusive: Function 'hextoint' argument 1 names different: declaration 'hexchar' definition 'hc'. [funcArgNamesDifferent] pstoedit-4.3/src/miscutil.h:77:46: note: Function 'hextoint' argument 1 names different: declaration 'hexchar' definition 'hc'. pstoedit-4.3/src/miscutil.cpp:229:36: note: Function 'hextoint' argument 1 names different: declaration 'hexchar' definition 'hc'. pstoedit-4.3/src/miscutil.cpp:307:37: style: Parameter 'errstream' can be declared as reference to const [constParameterReference] pstoedit-4.3/src/miscutil.cpp:797:27: style: Parameter 'lineptr' can be declared as pointer to const [constParameterReference] pstoedit-4.3/src/miscutil.cpp:915:26: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pstoedit-4.3/src/ordlist.h:120:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/pstoeditoptions.h:749:3: style: The destructor '~PsToEditOptions' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:204:11: note: Virtual destructor in base class pstoedit-4.3/src/pstoeditoptions.h:749:3: note: Destructor in derived class pstoedit-4.3/src/pstoeditoptions.h:754:15: style: The function 'hideSheetFromGui' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:224:15: note: Virtual function in base class pstoedit-4.3/src/pstoeditoptions.h:754:15: note: Function in derived class pstoedit-4.3/src/pstoeditoptions.h:755:15: style: The function 'hideFromDoku' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/poptions.h:223:15: note: Virtual function in base class pstoedit-4.3/src/pstoeditoptions.h:755:15: note: Function in derived class pstoedit-4.3/src/drvbase.h:807:30: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:743:30: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:807:30: note: Function in derived class pstoedit-4.3/src/drvbase.h:810:15: style: The function 'getPoint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:735:23: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:810:15: note: Function in derived class pstoedit-4.3/src/drvbase.h:818:16: style: The function 'getType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:739:16: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:818:16: note: Function in derived class pstoedit-4.3/src/drvbase.h:823:23: style: The function 'getNrOfPoints' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:742:23: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:823:23: note: Function in derived class pstoedit-4.3/src/drvbase.h:1041:19: style: The function 'createDriverOptions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:951:27: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:1041:19: note: Function in derived class pstoedit-4.3/src/drvbase.h:1048:23: style: The function 'getdrvbaseVersion' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:956:23: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:1048:23: note: Function in derived class pstoedit-4.3/src/drvbase.h:1055:17: style: The function 'variants' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:953:17: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:1055:17: note: Function in derived class pstoedit-4.3/src/drvbase.h:1059:35: style: The function 'variant' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:954:36: note: Virtual function in base class pstoedit-4.3/src/drvbase.h:1059:35: note: Function in derived class pstoedit-4.3/src/pstoeditoptions.h:246:3: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvjava2.cpp:274:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solid [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvjava2.cpp:332:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solid [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvcairo.cpp:86:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvlatex2e.cpp:78:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable floatfield [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvlatex2e.cpp:229:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable floatfield [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvlatex2e.cpp:359:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable floatfield [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvlatex2e.cpp:375:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable floatfield [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvkillu.cpp:122:8: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/poptions.cpp:334:9: style: The if condition is the same as the previous if condition [duplicateCondition] pstoedit-4.3/src/poptions.cpp:317:9: note: First condition pstoedit-4.3/src/poptions.cpp:334:9: note: Second condition pstoedit-4.3/src/drvsk.cpp:163:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oct [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvsk.cpp:248:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fill [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/poptions.h:83:35: style:inconclusive: Function 'getvalue' argument 1 names different: declaration 'optname' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvmma.cpp:95:53: style: Parameter 'pt' can be declared as reference to const [constParameterReference] pstoedit-4.3/src/poptions.cpp:187:38: style:inconclusive: Function 'toString' argument 1 names different: declaration '' definition 'result'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/poptions.cpp:135:24: style: Parameter 'currentarg' can be declared as reference to const [constParameterReference] pstoedit-4.3/src/poptions.cpp:167:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pstoedit-4.3/src/drvnoi.cpp:245:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fill [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.h:801:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvgcode.cpp:62:79: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpcbrnd.cpp:163:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/psimage.cpp:407:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvdxf.cpp:36:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvdxf.cpp:664:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable asbezier [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvdxf.cpp:1606:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stroke [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvsampl.cpp:103:27: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsampl.cpp:106:38: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsampl.cpp:108:44: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsampl.cpp:109:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsampl.cpp:110:40: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvhpgl.h:57:89: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvtext.h:64:9: warning: Member variable 'Line::y_max' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvtext.h:65:9: warning: Member variable 'Line::y_min' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvvtk.h:47:34: style:inconclusive: Function 'show_text' argument 1 names different: declaration 'textinfo' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvvtk.h:46:34: style:inconclusive: Function 'show_rectangle' argument 1 names different: declaration 'llx' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvvtk.h:46:51: style:inconclusive: Function 'show_rectangle' argument 2 names different: declaration 'lly' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvvtk.h:46:68: style:inconclusive: Function 'show_rectangle' argument 3 names different: declaration 'urx' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvvtk.h:46:85: style:inconclusive: Function 'show_rectangle' argument 4 names different: declaration 'ury' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvvtk.h:51:37: style:inconclusive: Function 'show_image' argument 1 names different: declaration 'imageinfo' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvhpgl.cpp:117:34: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvhpgl.cpp:127:78: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvhpgl.cpp:130:54: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvhpgl.cpp:447:15: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvhpgl.cpp:213:15: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:214:15: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:229:16: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:230:16: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:243:16: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:244:16: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:259:15: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:260:15: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:422:11: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:423:11: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:465:14: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/drvhpgl.cpp:466:14: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pstoedit-4.3/src/subpath.cpp:91:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/subpath.cpp:141:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/subpath.cpp:404:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/subpath.cpp:496:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvjava2.h:41:90: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvmpost.cpp:261:14: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pstoedit-4.3/src/drvmpost.cpp:263:3: performance: Assigning the result of c_str() to a std::string is slow and redundant. [stlcstrAssignment] pstoedit-4.3/src/drvmpost.cpp:277:3: performance: Assigning the result of c_str() to a std::string is slow and redundant. [stlcstrAssignment] pstoedit-4.3/src/drvtext.cpp:113:30: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvtext.cpp:116:41: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvtext.cpp:118:47: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvtext.cpp:120:45: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvtext.cpp:122:43: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvjava.h:39:90: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvjava.cpp:134:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pstoedit-4.3/src/drvnoi.h:61:34: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvpcb1.cpp:276:14: style: The scope of the variable 'p2' can be reduced. [variableScope] pstoedit-4.3/src/drvbase.cpp:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvbase.cpp:956:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvpcb2.cpp:98:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvpcb1.cpp:132:30: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpcb1.cpp:135:41: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpcb1.cpp:137:47: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpcb1.cpp:138:45: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpcb1.cpp:139:43: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvlatex2e.cpp:232:20: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pstoedit-4.3/src/drvsk.cpp:325:36: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvsk.cpp:235:47: style:inconclusive: Function 'pathsCanBeMerged' argument 1 names different: declaration '' definition 'path1'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvsk.cpp:235:71: style:inconclusive: Function 'pathsCanBeMerged' argument 2 names different: declaration '' definition 'path2'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvpic.cpp:270:18: style: The scope of the variable 'selected_font' can be reduced. [variableScope] pstoedit-4.3/src/drvsk.cpp:173:18: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvasy.cpp:519:32: style:inconclusive: Function 'ClipPath' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvpptx.cpp:525:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvpptx.cpp:764:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIP_CREATE [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvpptx.cpp:1454:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvpptx.cpp:1586:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvasy.cpp:340:15: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pstoedit-4.3/src/drvasy.cpp:341:21: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pstoedit-4.3/src/drvasy.cpp:359:5: performance: Assigning the result of c_str() to a std::string is slow and redundant. [stlcstrAssignment] pstoedit-4.3/src/drvpic.cpp:351:38: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpic.cpp:352:44: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpic.cpp:354:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpic.cpp:356:40: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpdf.cpp:609:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpdf.cpp:613:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpdf.cpp:617:41: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvpcbrnd.h:37:3: style: The destructor '~drvPCBRND' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:395:11: note: Virtual destructor in base class pstoedit-4.3/src/drvpcbrnd.h:37:3: note: Destructor in derived class pstoedit-4.3/src/drvcairo.h:45:17: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvcairo.h:48:17: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvcairo.cpp:413:34: style:inconclusive: Function 'ClipPath' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvpcbrnd.cpp:112:46: style:inconclusive: Function '_grid_snap' argument 2 names different: declaration 'grid' definition 'grid_p'. [funcArgNamesDifferent] pstoedit-4.3/src/drvpcbrnd.h:78:43: note: Function '_grid_snap' argument 2 names different: declaration 'grid' definition 'grid_p'. pstoedit-4.3/src/drvpcbrnd.cpp:112:46: note: Function '_grid_snap' argument 2 names different: declaration 'grid' definition 'grid_p'. pstoedit-4.3/src/drvcairo.cpp:270:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvcairo.cpp:272:48: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvcairo.cpp:273:46: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvcairo.cpp:274:44: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvcairo.cpp:293:39: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvcairo.cpp:332:33: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvlplot.cpp:371:72: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] pstoedit-4.3/src/drvlplot.h:42:77: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvlplot.cpp:407:14: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvlplot.cpp:459:7: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvlplot.cpp:677:6: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvlplot.cpp:683:31: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvlplot.cpp:808:40: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvlplot.cpp:426:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pstoedit-4.3/src/drvlplot.cpp:435:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pstoedit-4.3/src/drvlplot.cpp:435:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] pstoedit-4.3/src/drvlplot.cpp:619:52: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] pstoedit-4.3/src/drvlplot.cpp:448:8: style: The scope of the variable 'nl' can be reduced. [variableScope] pstoedit-4.3/src/drvlplot.h:52:34: style:inconclusive: Function 'show_image' argument 1 names different: declaration 'imageinfo' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvlplot.cpp:404:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] pstoedit-4.3/src/drvsvm.cpp:470:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solid [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_ANISOTROPIC [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:234:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_SOLID [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:429:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HORZSIZE [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:552:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_DASH [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:612:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FW_DONTCARE [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:772:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvwmf.cpp:1372:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITMAPINFOHEADER [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvsvg.cpp:701:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvsvg.cpp:933:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/fillpoly.cpp:44:34: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pstoedit-4.3/src/fillpoly.cpp:45:34: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pstoedit-4.3/src/drvtgif.cpp:174:17: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/subpath.cpp:442:15: style: The scope of the variable 'src_index' can be reduced. [variableScope] pstoedit-4.3/src/subpath.cpp:137:46: style:inconclusive: Function 'read' argument 1 names different: declaration '' definition 'main_path'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/subpath.cpp:216:43: style:inconclusive: Function 'point_inside' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/subpath.cpp:379:52: style:inconclusive: Function 'read' argument 1 names different: declaration '' definition 'path_info'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/fillpoly.cpp:15:80: style:inconclusive: Function 'Pen_action_to_tmpfile' argument 3 names different: declaration 'scale_flag' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvbase.h:1037:13: style: Local variable 'backend' shadows outer variable [shadowVariable] pstoedit-4.3/src/fillpoly.cpp:14:17: note: Shadowed variable pstoedit-4.3/src/drvbase.h:1037:13: note: Shadow local variable pstoedit-4.3/src/drvdxf.h:66:126: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvdxf.h:67:132: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/poptions.h:154:16: style: Local variable 'dummy' shadows outer variable [shadowVariable] pstoedit-4.3/src/dxfacad.h:924:19: note: Shadowed variable pstoedit-4.3/src/poptions.h:154:16: note: Shadow local variable pstoedit-4.3/src/drvdxf.cpp:838:42: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvdxf.cpp:993:20: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/dxfacad.h:270:38: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pstoedit-4.3/src/drvfig.cpp:399:8: style: The scope of the variable 'lastp' can be reduced. [variableScope] pstoedit-4.3/src/drvfig.cpp:733:63: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsvg.cpp:62:14: warning: Member variable 'Symbolmapping::psfontname' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvsvg.cpp:63:16: warning: Member variable 'Symbolmapping::psencoding' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvsvg.cpp:64:14: warning: Member variable 'Symbolmapping::htmlname' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvsvg.cpp:65:14: warning: Member variable 'Symbolmapping::htmlcharacters' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvsvg.cpp:66:6: warning: Member variable 'Symbolmapping::dummy' has no initializer. [uninitMemberVarNoCtor] pstoedit-4.3/src/drvsvg.h:34:3: style: The destructor '~drvSVG' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pstoedit-4.3/src/drvbase.h:395:11: note: Virtual destructor in base class pstoedit-4.3/src/drvsvg.h:34:3: note: Destructor in derived class pstoedit-4.3/src/drvsvg.h:64:97: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvsvg.cpp:599:29: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvsvg.h:82:42: style:inconclusive: Function 'show_rectangle' argument 1 names different: declaration 'llx' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvsvg.h:82:59: style:inconclusive: Function 'show_rectangle' argument 2 names different: declaration 'lly' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvsvg.h:82:76: style:inconclusive: Function 'show_rectangle' argument 3 names different: declaration 'urx' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvsvg.h:82:93: style:inconclusive: Function 'show_rectangle' argument 4 names different: declaration 'ury' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvsvg.cpp:660:9: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsvg.cpp:663:27: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsvg.cpp:937:36: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsvg.cpp:957:73: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvsvg.cpp:64:14: style: struct member 'Symbolmapping::htmlname' is never used. [unusedStructMember] pstoedit-4.3/src/drvsvg.cpp:66:6: style: struct member 'Symbolmapping::dummy' is never used. [unusedStructMember] pstoedit-4.3/src/lexyy.cpp:1794:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/lexyy.cpp:3231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/lexyy.cpp:3528:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/lexyy.cpp:3766:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/drvidraw.cpp:646:38: style:inconclusive: Function 'rgb2name' argument 1 names different: declaration '' definition 'red'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvidraw.cpp:646:49: style:inconclusive: Function 'rgb2name' argument 2 names different: declaration '' definition 'green'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvidraw.cpp:646:62: style:inconclusive: Function 'rgb2name' argument 3 names different: declaration '' definition 'blue'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvidraw.cpp:665:41: style:inconclusive: Function 'print_header' argument 1 names different: declaration '' definition 'objtype'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvidraw.cpp:911:47: style:inconclusive: Function 'psfont2xlfd' argument 1 names different: declaration '' definition 'psfont'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvidraw.cpp:962:7: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/drvbase.cpp:284:28: style: Condition 'totalNumberOfPages()>0' is always false [knownConditionTrueFalse] pstoedit-4.3/src/drvbase.cpp:284:25: note: Calling function 'totalNumberOfPages' returns 0 pstoedit-4.3/src/drvbase.cpp:284:28: note: Condition 'totalNumberOfPages()>0' is always false pstoedit-4.3/src/drvbase.cpp:287:37: style: Condition 'currentPageNumber>0' is always false [knownConditionTrueFalse] pstoedit-4.3/src/drvbase.cpp:285:46: note: Calling function 'totalNumberOfPages' returns 0 pstoedit-4.3/src/drvbase.cpp:285:25: note: Assuming that condition 'currentPageNumber<=totalNumberOfPages()' is not redundant pstoedit-4.3/src/drvbase.cpp:287:37: note: Condition 'currentPageNumber>0' is always false pstoedit-4.3/src/drvbase.cpp:258:34: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pstoedit-4.3/src/drvpptx.cpp:885:84: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: slideContents_c [nullPointerOutOfMemory] pstoedit-4.3/src/drvpptx.cpp:884:46: note: Assuming allocation function fails pstoedit-4.3/src/drvpptx.cpp:884:46: note: Assignment 'slideContents_c=strdup(slidef.str().c_str())', assigned value is 0 pstoedit-4.3/src/drvpptx.cpp:885:84: note: Null pointer dereference pstoedit-4.3/src/drvpptx.cpp:1045:16: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvpptx.cpp:1079:16: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvpptx.cpp:1142:76: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pstoedit-4.3/src/drvbase.cpp:944:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pstoedit-4.3/src/drvbase.cpp:285:25: style: Checking if unsigned expression 'currentPageNumber' is less than zero. [unsignedLessThanZero] pstoedit-4.3/src/drvbase.cpp:285:46: note: Calling function 'totalNumberOfPages' returns 0 pstoedit-4.3/src/drvbase.cpp:285:25: note: Unsigned less than zero pstoedit-4.3/src/drvpptx.cpp:1328:39: performance: Function parameter 'x_name' should be passed by const reference. [passedByValue] pstoedit-4.3/src/drvpptx.cpp:1328:56: performance: Function parameter 'y_name' should be passed by const reference. [passedByValue] pstoedit-4.3/src/drvbase.cpp:323:49: style:inconclusive: Function 'pathsCanBeMerged' argument 1 names different: declaration 'p1' definition 'path1'. [funcArgNamesDifferent] pstoedit-4.3/src/drvbase.h:619:51: note: Function 'pathsCanBeMerged' argument 1 names different: declaration 'p1' definition 'path1'. pstoedit-4.3/src/drvbase.cpp:323:49: note: Function 'pathsCanBeMerged' argument 1 names different: declaration 'p1' definition 'path1'. pstoedit-4.3/src/drvbase.cpp:323:73: style:inconclusive: Function 'pathsCanBeMerged' argument 2 names different: declaration 'p2' definition 'path2'. [funcArgNamesDifferent] pstoedit-4.3/src/drvbase.h:619:72: note: Function 'pathsCanBeMerged' argument 2 names different: declaration 'p2' definition 'path2'. pstoedit-4.3/src/drvbase.cpp:323:73: note: Function 'pathsCanBeMerged' argument 2 names different: declaration 'p2' definition 'path2'. pstoedit-4.3/src/drvbase.h:484:33: style:inconclusive: Function 'ClipPath' argument 1 names different: declaration 'clipmode' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvsvm.cpp:754:31: style: Condition 'textinfo.thetext.c_str()' is always true [knownConditionTrueFalse] pstoedit-4.3/src/drvbase.cpp:1015:8: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] pstoedit-4.3/src/drvsvm.cpp:968:17: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvsvm.cpp:1026:17: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/drvsvm.h:61:25: style:inconclusive: Function 'ClipPath' argument 1 names different: declaration 'clipmode' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvwmf.cpp:520:12: warning: Using feof() as a loop condition causes the last line to be processed twice. [wrongfeofUsage] pstoedit-4.3/src/drvwmf.cpp:498:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pstoedit-4.3/src/drvwmf.cpp:604:60: style:inconclusive: Function 'fetchFont' argument 2 names different: declaration '' definition 'textHeight'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvwmf.cpp:604:82: style:inconclusive: Function 'fetchFont' argument 3 names different: declaration '' definition 'textAngle'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/drvwmf.cpp:498:11: style: Variable 'checksumField' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/src/lexyy.cpp:3076:16: style: Condition 'yywrap()' is always true [knownConditionTrueFalse] pstoedit-4.3/src/lexyy.cpp:3076:16: note: Calling function 'yywrap' returns 1 pstoedit-4.3/src/lexyy.cpp:3076:16: note: Condition 'yywrap()' is always true pstoedit-4.3/src/lexyy.cpp:3532:2: warning: Possible null pointer dereference: b [nullPointer] pstoedit-4.3/src/lexyy.cpp:3425:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 pstoedit-4.3/src/lexyy.cpp:3532:2: note: Null pointer dereference pstoedit-4.3/src/lexyy.cpp:3533:2: warning: Possible null pointer dereference: b [nullPointer] pstoedit-4.3/src/lexyy.cpp:3425:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 pstoedit-4.3/src/lexyy.cpp:3533:2: note: Null pointer dereference pstoedit-4.3/src/lexyy.cpp:3207:20: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3209:17: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3259:41: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3260:4: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3482:6: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3491:17: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3516:11: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3518:10: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3642:23: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3661:23: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3690:6: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3739:8: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:3962:10: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/lexyy.cpp:1952:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pstoedit-4.3/src/lexyy.cpp:3231:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] pstoedit-4.3/src/lexyy.cpp:3231:3: note: c is initialized pstoedit-4.3/src/lexyy.cpp:3231:3: note: c is overwritten pstoedit-4.3/src/lexyy.cpp:3310:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] pstoedit-4.3/src/lexyy.cpp:339:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. pstoedit-4.3/src/lexyy.cpp:3310:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. pstoedit-4.3/src/lexyy.cpp:3717:46: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] pstoedit-4.3/src/lexyy.cpp:294:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. pstoedit-4.3/src/lexyy.cpp:3717:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. pstoedit-4.3/src/lexyy.cpp:3730:46: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] pstoedit-4.3/src/lexyy.cpp:295:45: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. pstoedit-4.3/src/lexyy.cpp:3730:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. pstoedit-4.3/src/lexyy.cpp:3730:60: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] pstoedit-4.3/src/lexyy.cpp:295:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. pstoedit-4.3/src/lexyy.cpp:3730:60: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. pstoedit-4.3/src/lexyy.cpp:3862:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] pstoedit-4.3/src/lexyy.cpp:1619:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. pstoedit-4.3/src/lexyy.cpp:3862:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. pstoedit-4.3/src/lexyy.cpp:3942:27: style:inconclusive: Function 'yyalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/lexyy.cpp:3947:26: style:inconclusive: Function 'yyrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/lexyy.cpp:3947:42: style:inconclusive: Function 'yyrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/lexyy.cpp:3960:21: style:inconclusive: Function 'yyfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/lexyy.cpp:1558:9: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/src/lexyy.cpp:2718:11: style: Variable 'start_of_glyphs' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/src/lexyy.cpp:3143:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] pstoedit-4.3/src/lexyy.cpp:1965:40: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/lexyy.cpp:358:15: style: struct member 'yy_trans_info::yy_verify' is never used. [unusedStructMember] pstoedit-4.3/src/lexyy.cpp:359:15: style: struct member 'yy_trans_info::yy_nxt' is never used. [unusedStructMember] pstoedit-4.3/src/pstoedit.cpp:96:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/pstoedit.cpp:488:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] pstoedit-4.3/src/pstoedit.cpp:288:5: style: C-style pointer casting [cstyleCast] pstoedit-4.3/src/pstoedit.cpp:420:35: style:inconclusive: Function 'pstoedit' argument 4 names different: declaration 'call_PI' definition 'call_PI_func'. [funcArgNamesDifferent] pstoedit-4.3/src/pstoedit.h:56:36: note: Function 'pstoedit' argument 4 names different: declaration 'call_PI' definition 'call_PI_func'. pstoedit-4.3/src/pstoedit.cpp:420:35: note: Function 'pstoedit' argument 4 names different: declaration 'call_PI' definition 'call_PI_func'. pstoedit-4.3/src/pstoedit.cpp:421:19: style:inconclusive: Function 'pstoedit' argument 5 names different: declaration 'whichPI' definition 'whichPI_func'. [funcArgNamesDifferent] pstoedit-4.3/src/pstoedit.h:57:18: note: Function 'pstoedit' argument 5 names different: declaration 'whichPI' definition 'whichPI_func'. pstoedit-4.3/src/pstoedit.cpp:421:19: note: Function 'pstoedit' argument 5 names different: declaration 'whichPI' definition 'whichPI_func'. pstoedit-4.3/src/pstoedit.h:158:46: style:inconclusive: Function 'get_gs_versions' argument 2 names different: declaration 'version_strings' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/pstoedit.h:158:75: style:inconclusive: Function 'get_gs_versions' argument 3 names different: declaration 'gsregbase' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/pstoedit.h:158:90: style:inconclusive: Function 'get_gs_versions' argument 4 names different: declaration 'verbose' definition ''. [funcArgNamesDifferentUnnamed] pstoedit-4.3/src/pstoedit.cpp:1400:20: performance:inconclusive: Use const reference for 'gsinfilename' to avoid unnecessary data copying. [redundantCopyLocalConst] pstoedit-4.3/src/pstoedit.cpp:1584:44: style: Parameter 'errstream' can be declared as reference to const. However it seems that 'returngivenPI' is a callback function, if 'errstream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pstoedit-4.3/src/pstoedit.cpp:1603:45: note: You might need to cast the function pointer here pstoedit-4.3/src/pstoedit.cpp:1584:44: note: Parameter 'errstream' can be declared as reference to const pstoedit-4.3/src/pstoedit.cpp:707:46: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/pstoedit.cpp:869:77: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/pstoedit.cpp:883:47: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/pstoedit.cpp:976:49: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/pstoedit.cpp:999:48: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/pstoedit.cpp:1005:57: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] pstoedit-4.3/src/pstoedit.cpp:1511:43: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] diff: head pstoedit-4.3/src/drvwmf.cpp:520:12: warning: Using feof() as a loop condition causes the last line to be processed twice. [wrongfeofUsage] 2.21.0 pstoedit-4.3/src/pstoedit.cpp:421:19: style:inconclusive: Function 'pstoedit' argument 5 names different: declaration '' definition 'whichPI_func'. [funcArgNamesDifferentUnnamed] head pstoedit-4.3/src/pstoedit.cpp:421:19: style:inconclusive: Function 'pstoedit' argument 5 names different: declaration 'whichPI' definition 'whichPI_func'. [funcArgNamesDifferent] pstoedit-4.3/src/pstoedit.h:57:18: note: Function 'pstoedit' argument 5 names different: declaration 'whichPI' definition 'whichPI_func'. pstoedit-4.3/src/pstoedit.cpp:421:19: note: Function 'pstoedit' argument 5 names different: declaration 'whichPI' definition 'whichPI_func'. 2.21.0 pstoedit-4.3/src/pstoedit.cpp:422:28: style:inconclusive: Function 'pstoedit' argument 6 names different: declaration '' definition 'driverOptions'. [funcArgNamesDifferentUnnamed] 2.21.0 pstoedit-4.3/src/pstoedit.cpp:423:40: style:inconclusive: Function 'pstoedit' argument 7 names different: declaration '' definition 'pushinsPtr'. [funcArgNamesDifferentUnnamed] DONE