2025-05-08 10:43 ftp://ftp.de.debian.org/debian/pool/main/t/tilem/tilem_2.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ebc80c0 (2025-05-07 18:59:31 +0200) count: 500 511 elapsed-time: 43.9 43.5 head-timing-info: old-timing-info: head results: tilem-2.0/db/disasm.c:246:34: style: Variable 'name' can be declared as pointer to const [constVariablePointer] tilem-2.0/db/disasm.c:317:21: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] tilem-2.0/db/listing.c:99:40: style: Parameter 'lst' can be declared as pointer to const [constParameterPointer] tilem-2.0/db/listing.c:216:65: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/calcs.c:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/emu/cert.c:29:36: style: Parameter 'cert' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/grayimage.c:201:61: style:inconclusive: Function 'tilem_draw_lcd_image_indexed' argument 1 names different: declaration 'frm' definition 'buf'. [funcArgNamesDifferent] tilem-2.0/emu/tilem.h:878:61: note: Function 'tilem_draw_lcd_image_indexed' argument 1 names different: declaration 'frm' definition 'buf'. tilem-2.0/emu/grayimage.c:201:61: note: Function 'tilem_draw_lcd_image_indexed' argument 1 names different: declaration 'frm' definition 'buf'. tilem-2.0/emu/grayimage.c:252:57: style:inconclusive: Function 'tilem_draw_lcd_image_rgb' argument 1 names different: declaration 'frm' definition 'buf'. [funcArgNamesDifferent] tilem-2.0/emu/tilem.h:889:57: note: Function 'tilem_draw_lcd_image_rgb' argument 1 names different: declaration 'frm' definition 'buf'. tilem-2.0/emu/grayimage.c:252:57: note: Function 'tilem_draw_lcd_image_rgb' argument 1 names different: declaration 'frm' definition 'buf'. tilem-2.0/emu/graylcd.c:139:57: style:inconclusive: Function 'tilem_gray_lcd_get_frame' argument 2 names different: declaration 'frm' definition 'buf'. [funcArgNamesDifferent] tilem-2.0/emu/tilem.h:930:57: note: Function 'tilem_gray_lcd_get_frame' argument 2 names different: declaration 'frm' definition 'buf'. tilem-2.0/emu/graylcd.c:139:57: note: Function 'tilem_gray_lcd_get_frame' argument 2 names different: declaration 'frm' definition 'buf'. tilem-2.0/emu/lcd.c:179:50: style:inconclusive: Function 'tilem_lcd_t6a04_write' argument 2 names different: declaration 'val' definition 'sprite'. [funcArgNamesDifferent] tilem-2.0/emu/tilem.h:441:50: note: Function 'tilem_lcd_t6a04_write' argument 2 names different: declaration 'val' definition 'sprite'. tilem-2.0/emu/lcd.c:179:50: note: Function 'tilem_lcd_t6a04_write' argument 2 names different: declaration 'val' definition 'sprite'. tilem-2.0/emu/lcd.c:238:8: style: Variable 'lcdbuf' can be declared as pointer to const [constVariablePointer] tilem-2.0/emu/link.c:422:46: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/rom.c:41:12: style: Variable 'buf[pos]' is assigned a value that is never used. [unreadVariable] tilem-2.0/emu/state.c:190:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tilem-2.0/emu/state.c:286:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tilem-2.0/emu/state.c:696:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x1/x1_init.c:49:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x1/x1_io.c:48:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x1/x1_io.c:162:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x1/x1_io.c:224:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x1/x1_memory.c:31:42: style:inconclusive: Function 'x1_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x1/x1.h:47:42: note: Function 'x1_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:31:42: note: Function 'x1_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:31:50: style:inconclusive: Function 'x1_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x1/x1.h:47:53: note: Function 'x1_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x1/x1_memory.c:31:50: note: Function 'x1_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x1/x1_memory.c:45:42: style:inconclusive: Function 'x1_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x1/x1.h:48:42: note: Function 'x1_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:45:42: note: Function 'x1_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:55:42: style:inconclusive: Function 'x1_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x1/x1.h:49:42: note: Function 'x1_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:55:42: note: Function 'x1_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:65:35: style:inconclusive: Function 'x1_mem_ptol' argument 1 names different: declaration 'calc' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/x1/x1.h:50:30: note: Function 'x1_mem_ptol' argument 1 names different: declaration 'calc' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/x1/x1_memory.c:65:35: note: Function 'x1_mem_ptol' argument 1 names different: declaration 'calc' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/x1/x1_memory.c:65:60: style:inconclusive: Function 'x1_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x1/x1.h:50:42: note: Function 'x1_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:65:60: note: Function 'x1_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x1/x1_memory.c:65:35: style: Parameter 'TILEM_ATTR_UNUSED' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/x2/x2_init.c:45:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x2/x2_io.c:63:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x2/x2_io.c:157:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x2/x2_io.c:202:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x2/x2_memory.c:33:42: style:inconclusive: Function 'x2_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x2/x2.h:46:42: note: Function 'x2_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:33:42: note: Function 'x2_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:33:50: style:inconclusive: Function 'x2_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x2/x2.h:46:53: note: Function 'x2_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x2/x2_memory.c:33:50: note: Function 'x2_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x2/x2_memory.c:46:42: style:inconclusive: Function 'x2_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x2/x2.h:47:42: note: Function 'x2_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:46:42: note: Function 'x2_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:52:42: style:inconclusive: Function 'x2_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x2/x2.h:48:42: note: Function 'x2_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:52:42: note: Function 'x2_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:58:42: style:inconclusive: Function 'x2_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x2/x2.h:49:42: note: Function 'x2_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:58:42: note: Function 'x2_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x2/x2_memory.c:58:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/x3/x3_init.c:45:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x3/x3_io.c:66:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x3/x3_io.c:159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x3/x3_io.c:199:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x3/x3_memory.c:31:42: style:inconclusive: Function 'x3_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x3/x3.h:45:42: note: Function 'x3_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:31:42: note: Function 'x3_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:31:50: style:inconclusive: Function 'x3_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x3/x3.h:45:53: note: Function 'x3_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x3/x3_memory.c:31:50: note: Function 'x3_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x3/x3_memory.c:40:42: style:inconclusive: Function 'x3_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x3/x3.h:46:42: note: Function 'x3_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:40:42: note: Function 'x3_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:46:42: style:inconclusive: Function 'x3_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x3/x3.h:47:42: note: Function 'x3_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:46:42: note: Function 'x3_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:52:42: style:inconclusive: Function 'x3_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x3/x3.h:48:42: note: Function 'x3_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:52:42: note: Function 'x3_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x3/x3_memory.c:52:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/x4/x4_init.c:78:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x4/x4_init.c:83:50: style:inconclusive: Function 'x4_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:95:42: note: Function 'x4_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/x4/x4_init.c:83:50: note: Function 'x4_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/x4/x4_io.c:52:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x4/x4_io.c:85:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x4/x4_io.c:389:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x4/x4_io.c:732:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x4/x4_memory.c:140:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_FLASH_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x4/x4_memory.c:31:42: style:inconclusive: Function 'x4_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:99:42: note: Function 'x4_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:31:42: note: Function 'x4_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:31:50: style:inconclusive: Function 'x4_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:99:53: note: Function 'x4_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x4/x4_memory.c:31:50: note: Function 'x4_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x4/x4_memory.c:81:42: style:inconclusive: Function 'x4_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:100:42: note: Function 'x4_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:81:42: note: Function 'x4_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:112:45: style:inconclusive: Function 'x4_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:101:45: note: Function 'x4_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:112:45: note: Function 'x4_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:164:42: style:inconclusive: Function 'x4_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:102:42: note: Function 'x4_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:164:42: note: Function 'x4_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:178:42: style:inconclusive: Function 'x4_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x4/x4.h:103:42: note: Function 'x4_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:178:42: note: Function 'x4_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x4/x4_memory.c:178:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/x5/x5_init.c:48:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x5/x5_io.c:42:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x5/x5_io.c:115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x5/x5_io.c:178:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x5/x5_memory.c:31:42: style:inconclusive: Function 'x5_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x5/x5.h:44:42: note: Function 'x5_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:31:42: note: Function 'x5_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:31:50: style:inconclusive: Function 'x5_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x5/x5.h:44:53: note: Function 'x5_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x5/x5_memory.c:31:50: note: Function 'x5_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x5/x5_memory.c:44:42: style:inconclusive: Function 'x5_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x5/x5.h:45:42: note: Function 'x5_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:44:42: note: Function 'x5_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:50:42: style:inconclusive: Function 'x5_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x5/x5.h:46:42: note: Function 'x5_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:50:42: note: Function 'x5_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:56:42: style:inconclusive: Function 'x5_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x5/x5.h:47:42: note: Function 'x5_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:56:42: note: Function 'x5_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x5/x5_memory.c:56:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/x6/x6_init.c:48:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x6/x6_io.c:42:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x6/x6_io.c:115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x6/x6_io.c:178:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x6/x6_memory.c:31:42: style:inconclusive: Function 'x6_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x6/x6.h:44:42: note: Function 'x6_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:31:42: note: Function 'x6_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:31:50: style:inconclusive: Function 'x6_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x6/x6.h:44:53: note: Function 'x6_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x6/x6_memory.c:31:50: note: Function 'x6_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x6/x6_memory.c:44:42: style:inconclusive: Function 'x6_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x6/x6.h:45:42: note: Function 'x6_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:44:42: note: Function 'x6_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:50:42: style:inconclusive: Function 'x6_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x6/x6.h:46:42: note: Function 'x6_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:50:42: note: Function 'x6_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:56:42: style:inconclusive: Function 'x6_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x6/x6.h:47:42: note: Function 'x6_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:56:42: note: Function 'x6_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x6/x6_memory.c:56:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/x7/x7_init.c:50:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x7/x7_init.c:55:50: style:inconclusive: Function 'x7_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:46:42: note: Function 'x7_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/x7/x7_init.c:55:50: note: Function 'x7_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/x7/x7_io.c:64:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x7/x7_io.c:150:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x7/x7_io.c:236:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x7/x7_memory.c:96:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_FLASH_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/emu/x7/x7_memory.c:31:42: style:inconclusive: Function 'x7_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:50:42: note: Function 'x7_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:31:42: note: Function 'x7_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:31:50: style:inconclusive: Function 'x7_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:50:53: note: Function 'x7_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x7/x7_memory.c:31:50: note: Function 'x7_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/x7/x7_memory.c:67:42: style:inconclusive: Function 'x7_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:51:42: note: Function 'x7_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:67:42: note: Function 'x7_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:85:45: style:inconclusive: Function 'x7_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:52:45: note: Function 'x7_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:85:45: note: Function 'x7_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:114:42: style:inconclusive: Function 'x7_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:53:42: note: Function 'x7_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:114:42: note: Function 'x7_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:120:42: style:inconclusive: Function 'x7_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/x7/x7.h:54:42: note: Function 'x7_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:120:42: note: Function 'x7_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/x7/x7_memory.c:120:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/xn/xn_init.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_Z80_RESET_UNDOCUMENTED [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_init.c:84:50: style:inconclusive: Function 'xn_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:94:42: note: Function 'xn_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xn/xn_init.c:84:50: note: Function 'xn_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xn/xn_io.c:52:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_io.c:66:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_io.c:387:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_io.c:858:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_INSTRUCTION [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_io.c:866:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_memory.c:130:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_RAM_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xn/xn_memory.c:31:42: style:inconclusive: Function 'xn_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:99:42: note: Function 'xn_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:31:42: note: Function 'xn_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:31:50: style:inconclusive: Function 'xn_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:99:53: note: Function 'xn_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xn/xn_memory.c:31:50: note: Function 'xn_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xn/xn_memory.c:81:42: style:inconclusive: Function 'xn_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:100:42: note: Function 'xn_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:81:42: note: Function 'xn_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:112:45: style:inconclusive: Function 'xn_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:101:45: note: Function 'xn_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:112:45: note: Function 'xn_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:161:42: style:inconclusive: Function 'xn_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:102:42: note: Function 'xn_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:161:42: note: Function 'xn_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:175:42: style:inconclusive: Function 'xn_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xn/xn.h:103:42: note: Function 'xn_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:175:42: note: Function 'xn_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xn/xn_memory.c:175:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/xp/xp_init.c:54:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_LINK_MODE_NO_TIMEOUT [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xp/xp_init.c:63:50: style:inconclusive: Function 'xp_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:52:42: note: Function 'xp_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xp/xp_init.c:63:50: note: Function 'xp_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xp/xp_io.c:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_LINK_MODE_ASSIST [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xp/xp_io.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_LINK_MODE_ASSIST [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xp/xp_io.c:273:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xp/xp_memory.c:99:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_FLASH_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xp/xp_memory.c:31:42: style:inconclusive: Function 'xp_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:56:42: note: Function 'xp_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:31:42: note: Function 'xp_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:31:50: style:inconclusive: Function 'xp_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:56:53: note: Function 'xp_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xp/xp_memory.c:31:50: note: Function 'xp_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xp/xp_memory.c:67:42: style:inconclusive: Function 'xp_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:57:42: note: Function 'xp_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:67:42: note: Function 'xp_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:85:45: style:inconclusive: Function 'xp_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:58:45: note: Function 'xp_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:85:45: note: Function 'xp_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:117:42: style:inconclusive: Function 'xp_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:59:42: note: Function 'xp_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:117:42: note: Function 'xp_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:123:42: style:inconclusive: Function 'xp_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xp/xp.h:60:42: note: Function 'xp_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:123:42: note: Function 'xp_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xp/xp_memory.c:123:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/xs/xs_init.c:82:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xs/xs_init.c:87:50: style:inconclusive: Function 'xs_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:91:42: note: Function 'xs_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xs/xs_init.c:87:50: note: Function 'xs_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xs/xs_io.c:51:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xs/xs_io.c:83:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xs/xs_io.c:339:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xs/xs_io.c:643:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xs/xs_memory.c:142:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_FLASH_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xs/xs_memory.c:34:42: style:inconclusive: Function 'xs_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:95:42: note: Function 'xs_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:34:42: note: Function 'xs_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:34:50: style:inconclusive: Function 'xs_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:95:53: note: Function 'xs_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xs/xs_memory.c:34:50: note: Function 'xs_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xs/xs_memory.c:83:42: style:inconclusive: Function 'xs_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:96:42: note: Function 'xs_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:83:42: note: Function 'xs_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:114:45: style:inconclusive: Function 'xs_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:97:45: note: Function 'xs_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:114:45: note: Function 'xs_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:170:42: style:inconclusive: Function 'xs_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:98:42: note: Function 'xs_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:170:42: note: Function 'xs_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:184:42: style:inconclusive: Function 'xs_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xs/xs.h:99:42: note: Function 'xs_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:184:42: note: Function 'xs_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xs/xs_memory.c:184:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/xz/xz_init.c:80:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xz/xz_init.c:85:50: style:inconclusive: Function 'xz_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:95:42: note: Function 'xz_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xz/xz_init.c:85:50: note: Function 'xz_stateloaded' argument 2 names different: declaration 'savtype' definition 'TILEM_ATTR_UNUSED'. tilem-2.0/emu/xz/xz_io.c:52:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xz/xz_io.c:85:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xz/xz_io.c:389:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_INTERRUPT_ON_KEY [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xz/xz_io.c:732:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_NUM_SYS_TIMERS [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xz/xz_memory.c:140:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_EXC_FLASH_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/emu/xz/xz_memory.c:31:42: style:inconclusive: Function 'xz_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:99:42: note: Function 'xz_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:31:42: note: Function 'xz_z80_wrmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:31:50: style:inconclusive: Function 'xz_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:99:53: note: Function 'xz_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xz/xz_memory.c:31:50: note: Function 'xz_z80_wrmem' argument 3 names different: declaration 'value' definition 'v'. tilem-2.0/emu/xz/xz_memory.c:81:42: style:inconclusive: Function 'xz_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:100:42: note: Function 'xz_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:81:42: note: Function 'xz_z80_rdmem' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:112:45: style:inconclusive: Function 'xz_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:101:45: note: Function 'xz_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:112:45: note: Function 'xz_z80_rdmem_m1' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:164:42: style:inconclusive: Function 'xz_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:102:42: note: Function 'xz_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:164:42: note: Function 'xz_mem_ltop' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:178:42: style:inconclusive: Function 'xz_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. [funcArgNamesDifferent] tilem-2.0/emu/xz/xz.h:103:42: note: Function 'xz_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:178:42: note: Function 'xz_mem_ptol' argument 2 names different: declaration 'addr' definition 'A'. tilem-2.0/emu/xz/xz_memory.c:178:30: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/emu/z80ed.h:267:3: style: Variable 'tmp1' is assigned a value that is never used. [unreadVariable] tilem-2.0/gui/address.c:164:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/address.c:183:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/address.c:194:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/address.c:120:8: style: Variable 'pagestr' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/animatedgif.c:89:41: style:inconclusive: Function 'write_extension_block' argument 1 names different: declaration 'fout' definition 'fp'. [funcArgNamesDifferent] tilem-2.0/gui/animatedgif.c:34:41: note: Function 'write_extension_block' argument 1 names different: declaration 'fout' definition 'fp'. tilem-2.0/gui/animatedgif.c:89:41: note: Function 'write_extension_block' argument 1 names different: declaration 'fout' definition 'fp'. tilem-2.0/gui/animatedgif.c:40:72: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/animatedgif.c:43:11: style: Variable 'global_header_magic_number' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:62:11: style: Variable 'global_header_flag' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:64:7: style: Variable 'global_header_background_index' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:66:7: style: Variable 'global_header_aspect_pixel_ratio' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:83:7: style: Variable 'footer_trailer' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:92:7: style: Variable 'extension_block_header' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:94:7: style: Variable 'extension_block_size' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:96:7: style: Variable 'extension_block_flag' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:101:7: style: Variable 'extension_block_transparent_index' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:103:7: style: Variable 'extension_block_terminator' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:117:7: style: Variable 'image_block_header' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:126:7: style: Variable 'image_block_flag' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:137:7: style: Variable 'image_block_end' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:144:7: style: Variable 'comment' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:151:7: style: Variable 'application_extension_magic_number' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:153:7: style: Variable 'application_extension_application_name' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:155:7: style: Variable 'application_extension_data_follow' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:157:7: style: Variable 'application_extension_number_of_loop' can be declared as const array [constVariable] tilem-2.0/gui/animatedgif.c:159:7: style: Variable 'application_extension_terminator' can be declared as const array [constVariable] tilem-2.0/gui/animation.c:153:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] tilem-2.0/gui/animation.c:255:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tilem_animation_parent_class [valueFlowBailoutIncompleteVar] tilem-2.0/gui/animation.c:364:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tilem_anim_iter_parent_class [valueFlowBailoutIncompleteVar] tilem-2.0/gui/animation.c:525:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] tilem-2.0/gui/animation.c:564:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/animation.c:171:18: style: Variable 'anim' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/animation.c:197:18: style: Variable 'anim' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/animation.c:224:64: style: Parameter 'anim' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/animation.c:301:98: style: Parameter 'giter' can be declared as pointer to const. However it seems that 'tilem_anim_iter_on_currently_loading_frame' is a callback function, if 'giter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/animation.c:375:39: note: You might need to cast the function pointer here tilem-2.0/gui/animation.c:301:98: note: Parameter 'giter' can be declared as pointer to const tilem-2.0/gui/animation.c:346:63: style: Parameter 'iter' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/animation.c:490:51: style: Parameter 'anim' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/animation.c:506:51: style: Parameter 'frm' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/animation.c:513:56: style: Parameter 'frm' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/animation.c:48:6: style: struct member '_TilemAnimation::num_frames' is never used. [unusedStructMember] tilem-2.0/gui/breakpoints.c:181:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_PHYSICAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:219:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_OPCODE [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:260:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:361:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MODIFIER_MASK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:394:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:436:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:791:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:888:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/breakpoints.c:449:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/breakpoints.c:481:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/breakpoints.c:513:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/breakpoints.c:907:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/breakpoints.c:910:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/breakpoints.c:356:46: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'entry_key_event' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/breakpoints.c:414:2: note: You might need to cast the function pointer here tilem-2.0/gui/breakpoints.c:356:46: note: Parameter 'ev' can be declared as pointer to const tilem-2.0/gui/breakpoints.c:705:31: style: Variable 'newbp' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/charmap.c:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ti73_charset [valueFlowBailoutIncompleteVar] tilem-2.0/gui/config.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] tilem-2.0/gui/config.c:158:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/config.c:113:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/config.c:152:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/debugger.c:119:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:225:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_BREAK_MEM_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:289:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_BREAK_EXECUTE [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:731:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:795:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:817:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:876:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_LOGICAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:1282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_BREAK_MEM_READ [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:1354:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_LOGICAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/debugger.c:710:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/debugger.c:738:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/debugger.c:749:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/debugger.c:909:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/debugger.c:952:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/debugger.c:972:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/debugger.c:112:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/debugger.c:421:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/debugger.c:888:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/debugger.c:1012:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/debugger.c:170:35: style: Parameter 'calc' can be declared as pointer to const. However it seems that 'bptest_step' is a callback function, if 'calc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/debugger.c:309:32: note: You might need to cast the function pointer here tilem-2.0/gui/debugger.c:170:35: note: Parameter 'calc' can be declared as pointer to const tilem-2.0/gui/debugger.c:170:71: style: Parameter 'data' can be declared as pointer to const. However it seems that 'bptest_step' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/debugger.c:309:32: note: You might need to cast the function pointer here tilem-2.0/gui/debugger.c:170:71: note: Parameter 'data' can be declared as pointer to const tilem-2.0/gui/debugger.c:1232:13: style: Variable 'calc' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/disasmview.c:185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:282:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:323:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:377:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_PHYSICAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:394:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_DB_BREAK_EXEC [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:523:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:809:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:832:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:897:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:1006:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:1160:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/disasmview.c:232:2: style: The comparison 'NUM_COLUMNS == 6' is always true. [knownConditionTrueFalse] tilem-2.0/gui/disasmview.c:370:24: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/disasmview.c:519:8: style: Variable 'i' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/disasmview.c:956:64: style: Parameter 'col' can be declared as pointer to const. However it seems that 'tilem_disasm_view_row_activated' is a callback function, if 'col' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/disasmview.c:1060:29: note: You might need to cast the function pointer here tilem-2.0/gui/disasmview.c:956:64: note: Parameter 'col' can be declared as pointer to const tilem-2.0/gui/disasmview.c:372:10: style: Variable 'bp' is assigned a value that is never used. [unreadVariable] tilem-2.0/gui/emucore.c:126:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emucore.c:194:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_STOP_BREAKPOINT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emucore.c:333:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_LINK_EMULATOR_GRAY [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emucore.c:376:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_STOP_LINK_WRITE_BYTE [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emucore.c:393:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_KEY_ON [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emucore.c:317:10: style: Variable 'events' is assigned a value that is never used. [unreadVariable] tilem-2.0/gui/emulator.c:102:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalcUpdate [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:211:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:265:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:418:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_HAS_FLASH [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:485:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_HAS_FLASH [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:715:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:880:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emulator.c:138:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emulator.c:248:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emulator.c:863:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emulator.c:873:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emulator.c:875:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emulator.c:407:13: style: Variable 'errnum' is assigned a value that is never used. [unreadVariable] tilem-2.0/gui/emuwin.c:66:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_MAXIMIZED [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emuwin.c:87:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emuwin.c:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emuwin.c:194:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emuwin.c:337:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emuwin.c:434:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/emuwin.c:409:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emuwin.c:427:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emuwin.c:532:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emuwin.c:539:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/emuwin.c:58:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_state_changed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/emuwin.c:436:2: note: You might need to cast the function pointer here tilem-2.0/gui/emuwin.c:58:55: note: Parameter 'event' can be declared as pointer to const tilem-2.0/gui/emuwin.c:64:55: style: Parameter 'ewin' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/emuwin.c:161:66: style: Parameter 'alloc' can be declared as pointer to const. However it seems that 'skin_size_allocate' is a callback function, if 'alloc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/emuwin.c:303:3: note: You might need to cast the function pointer here tilem-2.0/gui/emuwin.c:161:66: note: Parameter 'alloc' can be declared as pointer to const tilem-2.0/gui/emuwin.c:218:49: style: Parameter 'alloc' can be declared as pointer to const. However it seems that 'noskin_size_allocate' is a callback function, if 'alloc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/emuwin.c:324:3: note: You might need to cast the function pointer here tilem-2.0/gui/emuwin.c:218:49: note: Parameter 'alloc' can be declared as pointer to const tilem-2.0/gui/event.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/event.c:148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use [valueFlowBailoutIncompleteVar] tilem-2.0/gui/event.c:245:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/event.c:302:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/event.c:167:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/event.c:256:74: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/event.c:353:69: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/filedlg.c:503:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] tilem-2.0/gui/filedlg.c:559:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_FILTER_FILENAME [valueFlowBailoutIncompleteVar] tilem-2.0/gui/filedlg.c:580:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] tilem-2.0/gui/filedlg.c:651:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] tilem-2.0/gui/filedlg.c:736:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] tilem-2.0/gui/filedlg.c:1019:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] tilem-2.0/gui/files.c:41:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] tilem-2.0/gui/files.c:204:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] tilem-2.0/gui/files.c:215:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] tilem-2.0/gui/files.c:236:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/files.c:128:19: style: Variable 'dname' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/gifencod.c:190:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/gifencod.c:110:9: warning: Either the condition '(buffer=(char*)malloc((1000+1)*sizeof(char)))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tilem-2.0/gui/gifencod.c:108:59: note: Assuming that condition '(buffer=(char*)malloc((1000+1)*sizeof(char)))==NULL' is not redundant tilem-2.0/gui/gifencod.c:110:9: note: Null pointer addition tilem-2.0/gui/gifencod.c:126:25: warning: Either the condition '(nodeArray=first->node=(struct GifTree**)malloc(256*sizeof(struct GifTree*)*20))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tilem-2.0/gui/gifencod.c:124:89: note: Assuming that condition '(nodeArray=first->node=(struct GifTree**)malloc(256*sizeof(struct GifTree*)*20))==NULL' is not redundant tilem-2.0/gui/gifencod.c:126:25: note: Null pointer addition tilem-2.0/gui/gifencod.c:98:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/icons.c:52:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/keybindings.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] tilem-2.0/gui/keybindings.c:227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/keybindings.c:217:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/keypaddlg.c:125:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/keypaddlg.c:126:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/keypaddlg.c:219:13: style: Variable 'calc' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/link.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:71:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:104:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_WRITE_TIMEOUT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_READ_TIMEOUT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS_NONE [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:193:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI82 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:217:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI82 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:379:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:411:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:452:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALC_TI73 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:497:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_NORMAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:570:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:623:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarEntry [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:647:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarEntry [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:676:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarEntry [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:737:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPS_DIRLIST [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:774:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_BACKUP [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:824:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:975:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_NORMAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:1027:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:1084:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_entries [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:1104:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:1219:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_NFKD [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:1292:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_NFKD [valueFlowBailoutIncompleteVar] tilem-2.0/gui/link.c:682:45: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tilem-2.0/gui/link.c:45:34: style: Parameter 'cbl' can be declared as pointer to const. However it seems that 'ilp_open' is a callback function, if 'cbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:166:21: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:45:34: note: Parameter 'cbl' can be declared as pointer to const tilem-2.0/gui/link.c:64:35: style: Parameter 'cbl' can be declared as pointer to const. However it seems that 'ilp_close' is a callback function, if 'cbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:167:22: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:64:35: note: Parameter 'cbl' can be declared as pointer to const tilem-2.0/gui/link.c:84:35: style: Parameter 'cbl' can be declared as pointer to const. However it seems that 'ilp_reset' is a callback function, if 'cbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:168:22: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:84:35: note: Parameter 'cbl' can be declared as pointer to const tilem-2.0/gui/link.c:95:34: style: Parameter 'cbl' can be declared as pointer to const. However it seems that 'ilp_send' is a callback function, if 'cbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:169:21: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:95:34: note: Parameter 'cbl' can be declared as pointer to const tilem-2.0/gui/link.c:95:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ilp_send' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:169:21: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:95:48: note: Parameter 'data' can be declared as pointer to const tilem-2.0/gui/link.c:117:34: style: Parameter 'cbl' can be declared as pointer to const. However it seems that 'ilp_recv' is a callback function, if 'cbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:170:21: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:117:34: note: Parameter 'cbl' can be declared as pointer to const tilem-2.0/gui/link.c:140:35: style: Parameter 'cbl' can be declared as pointer to const. However it seems that 'ilp_check' is a callback function, if 'cbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/link.c:171:22: note: You might need to cast the function pointer here tilem-2.0/gui/link.c:140:35: note: Parameter 'cbl' can be declared as pointer to const tilem-2.0/gui/link.c:251:14: style: Variable 'upd' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/link.c:267:31: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/link.c:705:61: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/link.c:1000:55: style: Parameter 'emu' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/link.c:1003:17: style: Variable 'tve' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/link.c:1098:17: style: Variable 'tve' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/link.c:983:6: warning: Uninitialized variable: e [uninitvar] tilem-2.0/gui/link.c:965:24: note: Assuming condition is false tilem-2.0/gui/link.c:983:6: note: Uninitialized variable: e tilem-2.0/gui/macro.c:216:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tilem-2.0/gui/macro.c:137:14: error: Buffer is accessed out of bounds: lengthchar [bufferAccessOutOfBounds] tilem-2.0/gui/macro.c:134:24: note: Assign lengthchar, buffer with size 4 tilem-2.0/gui/macro.c:137:14: note: Buffer overrun tilem-2.0/gui/macro.c:137:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] tilem-2.0/gui/macro.c:223:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] tilem-2.0/gui/macro.c:220:7: note: c is assigned tilem-2.0/gui/macro.c:223:7: note: c is overwritten tilem-2.0/gui/macro.c:116:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/macro.c:124:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/macro.c:147:73: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/macro.c:261:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/macro.c:267:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/macro.c:103:36: style: Parameter 'macro' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/macro.c:194:72: style: Parameter 'emu' can be declared as pointer to const. However it seems that 'tilem_macro_play_finished' is a callback function, if 'emu' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/macro.c:250:58: note: You might need to cast the function pointer here tilem-2.0/gui/macro.c:194:72: note: Parameter 'emu' can be declared as pointer to const tilem-2.0/gui/macro.c:194:100: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tilem_macro_play_finished' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/macro.c:250:58: note: You might need to cast the function pointer here tilem-2.0/gui/macro.c:194:100: note: Parameter 'data' can be declared as pointer to const tilem-2.0/gui/memmodel.c:64:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_HAS_FLASH [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:184:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_MODEL_LIST_ONLY [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:217:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:382:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:424:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:491:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memmodel.c:175:49: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/memmodel.c:190:55: style: Parameter 'model' can be declared as pointer to const. However it seems that 'tilem_mem_model_get_flags' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:453:22: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:190:55: note: Parameter 'model' can be declared as pointer to const tilem-2.0/gui/memmodel.c:199:17: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memmodel.c:208:61: style: Parameter 'model' can be declared as pointer to const. However it seems that 'tilem_mem_model_get_column_type' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:455:28: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:208:61: note: Parameter 'model' can be declared as pointer to const tilem-2.0/gui/memmodel.c:233:17: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memmodel.c:249:61: style: Parameter 'iter' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/memmodel.c:251:17: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memmodel.c:268:7: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memmodel.c:297:60: style: Parameter 'model' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_has_child' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:461:27: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:297:60: note: Parameter 'model' can be declared as pointer to const tilem-2.0/gui/memmodel.c:298:38: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_has_child' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:461:27: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:298:38: note: Parameter 'iter' can be declared as pointer to const tilem-2.0/gui/memmodel.c:306:58: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_n_children' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:462:28: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:306:58: note: Parameter 'iter' can be declared as pointer to const tilem-2.0/gui/memmodel.c:322:61: style: Parameter 'parent' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_nth_child' is a callback function, if 'parent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:463:27: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:322:61: note: Parameter 'parent' can be declared as pointer to const tilem-2.0/gui/memmodel.c:325:31: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memmodel.c:345:73: style: Parameter 'model' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_parent' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:464:24: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:345:73: note: Parameter 'model' can be declared as pointer to const tilem-2.0/gui/memmodel.c:346:72: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_parent' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:464:24: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:346:72: note: Parameter 'iter' can be declared as pointer to const tilem-2.0/gui/memmodel.c:347:72: style: Parameter 'child' can be declared as pointer to const. However it seems that 'tilem_mem_model_iter_parent' is a callback function, if 'child' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memmodel.c:464:24: note: You might need to cast the function pointer here tilem-2.0/gui/memmodel.c:347:72: note: Parameter 'child' can be declared as pointer to const tilem-2.0/gui/memmodel.c:360:13: style: Variable 'calc' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memmodel.c:328:5: style: Variable 'mm' is assigned a value that is never used. [unreadVariable] tilem-2.0/gui/memory.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memory.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memory.c:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memory.c:73:31: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/memory.c:83:31: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/memory.c:93:32: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/memview.c:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memview.c:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memview.c:194:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memview.c:220:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memview.c:238:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dword [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memview.c:261:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_logical [valueFlowBailoutIncompleteVar] tilem-2.0/gui/memview.c:77:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] tilem-2.0/gui/memview.c:76:22: note: Calling function 'get_column_index' returns -1 tilem-2.0/gui/memview.c:76:22: note: Assignment 'n=get_column_index(mem_view,col)', assigned value is -1 tilem-2.0/gui/memview.c:77:8: note: Condition 'n>0' is always false tilem-2.0/gui/memview.c:56:17: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] tilem-2.0/gui/memview.c:89:40: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/memview.c:139:52: style: Parameter 'text' can be declared as pointer to const. However it seems that 'hex_cell_edited' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/memview.c:217:3: note: You might need to cast the function pointer here tilem-2.0/gui/memview.c:139:52: note: Parameter 'text' can be declared as pointer to const tilem-2.0/gui/memview.c:44:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] tilem-2.0/gui/menu.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/menu.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/menu.c:144:51: style: Parameter 'act' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/menu.c:145:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/pbar.c:100:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/preferences.c:41:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] tilem-2.0/gui/preferences.c:186:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/preferences.c:190:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/preferences.c:195:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/preferences.c:216:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/preferences.c:236:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/preferences.c:101:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:105:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:109:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:122:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:132:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:142:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:157:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/preferences.c:243:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:73:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:247:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:370:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:381:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:395:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:412:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:527:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:658:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/rcvmenu.c:563:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/rcvmenu.c:567:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] tilem-2.0/gui/rcvmenu.c:140:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:148:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:158:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:179:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:208:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:224:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:254:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:267:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:580:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/rcvmenu.c:603:52: style:inconclusive: Function 'tilem_receive_dialog_free' argument 1 names different: declaration 'rcvdlg' definition 'rcvdialog'. [funcArgNamesDifferent] tilem-2.0/gui/gui.h:379:52: note: Function 'tilem_receive_dialog_free' argument 1 names different: declaration 'rcvdlg' definition 'rcvdialog'. tilem-2.0/gui/rcvmenu.c:603:52: note: Function 'tilem_receive_dialog_free' argument 1 names different: declaration 'rcvdlg' definition 'rcvdialog'. tilem-2.0/gui/rcvmenu.c:618:54: style:inconclusive: Function 'tilem_receive_dialog_update' argument 1 names different: declaration 'rcvdlg' definition 'rcvdialog'. [funcArgNamesDifferent] tilem-2.0/gui/gui.h:384:54: note: Function 'tilem_receive_dialog_update' argument 1 names different: declaration 'rcvdlg' definition 'rcvdialog'. tilem-2.0/gui/rcvmenu.c:618:54: note: Function 'tilem_receive_dialog_update' argument 1 names different: declaration 'rcvdlg' definition 'rcvdialog'. tilem-2.0/gui/rcvmenu.c:132:82: style: Parameter 'tve' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/screenshot.c:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:168:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:197:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:231:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:373:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:693:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:763:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] tilem-2.0/gui/screenshot.c:95:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:118:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:581:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:635:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:659:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:676:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:742:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/screenshot.c:151:45: style:inconclusive: Function 'find_free_filename' argument 1 names different: declaration 'directory' definition 'folder'. [funcArgNamesDifferent] tilem-2.0/gui/screenshot.c:63:45: note: Function 'find_free_filename' argument 1 names different: declaration 'directory' definition 'folder'. tilem-2.0/gui/screenshot.c:151:45: note: Function 'find_free_filename' argument 1 names different: declaration 'directory' definition 'folder'. tilem-2.0/gui/screenshot.c:152:45: style:inconclusive: Function 'find_free_filename' argument 2 names different: declaration 'filename' definition 'basename'. [funcArgNamesDifferent] tilem-2.0/gui/screenshot.c:64:45: note: Function 'find_free_filename' argument 2 names different: declaration 'filename' definition 'basename'. tilem-2.0/gui/screenshot.c:152:45: note: Function 'find_free_filename' argument 2 names different: declaration 'filename' definition 'basename'. tilem-2.0/gui/sendfile.c:148:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] tilem-2.0/gui/sendfile.c:418:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/sendfile.c:487:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/sendfile.c:265:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] tilem-2.0/gui/sendfile.c:375:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:378:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:383:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:389:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:398:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:403:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:405:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:505:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:520:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/sendfile.c:39:71: style: Parameter 'slots' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/sendfile.c:108:32: style: Parameter 'pathstr' can be declared as pointer to const. However it seems that 'slot_edited' is a callback function, if 'pathstr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tilem-2.0/gui/sendfile.c:240:2: note: You might need to cast the function pointer here tilem-2.0/gui/sendfile.c:108:32: note: Parameter 'pathstr' can be declared as pointer to const tilem-2.0/gui/skinops.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/skinops.c:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/skinops.c:243:27: style:inconclusive: Function 'skin_load' argument 1 names different: declaration 'infos' definition 'si'. [funcArgNamesDifferent] tilem-2.0/gui/skinops.h:131:27: note: Function 'skin_load' argument 1 names different: declaration 'infos' definition 'si'. tilem-2.0/gui/skinops.c:243:27: note: Function 'skin_load' argument 1 names different: declaration 'infos' definition 'si'. tilem-2.0/gui/skinops.c:280:29: style:inconclusive: Function 'skin_unload' argument 1 names different: declaration 'infos' definition 'si'. [funcArgNamesDifferent] tilem-2.0/gui/skinops.h:132:29: note: Function 'skin_unload' argument 1 names different: declaration 'infos' definition 'si'. tilem-2.0/gui/skinops.c:280:29: note: Function 'skin_unload' argument 1 names different: declaration 'infos' definition 'si'. tilem-2.0/gui/ti81prg.c:63:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] tilem-2.0/gui/ti81prg.c:320:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tilem-2.0/gui/ti81prg.c:107:35: style: Parameter 'calc' can be declared as pointer to const [constParameterPointer] tilem-2.0/gui/tilem2.c:168:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tilem2.c:183:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/tilem2.c:225:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/tilem2.c:300:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] tilem-2.0/gui/tool.c:48:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable model_id [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:92:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALC_TI73 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI73 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI81 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI83 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:229:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILEM_CALC_TI82 [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:261:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable model_id [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:373:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tilem-2.0/gui/tool.c:293:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] diff: 2.17.0 tilem-2.0/gui/address.c:64:6: warning: Null pointer dereference: string [ctunullpointer] tilem-2.0/gui/address.c:132:22: note: Assuming allocation function fails tilem-2.0/gui/address.c:132:22: note: Assignment 'pagestr=g_strndup(string,offstr-string)', assigned value is 0 tilem-2.0/gui/address.c:134:29: note: Calling function tilem_parse_paged_addr, 2nd argument is null tilem-2.0/gui/address.c:93:7: note: Calling function parse_hex, 1st argument is null tilem-2.0/gui/address.c:64:6: note: Dereferencing argument string that is null 2.17.0 tilem-2.0/gui/emulator.c:209:22: warning: If memory allocation fails, then there is a possible null pointer dereference: bname [nullPointerOutOfMemory] tilem-2.0/gui/emulator.c:207:29: note: Assuming allocation function fails tilem-2.0/gui/emulator.c:207:29: note: Assignment 'bname=g_path_get_basename(romname)', assigned value is 0 tilem-2.0/gui/emulator.c:209:22: note: Null pointer dereference 2.17.0 tilem-2.0/gui/emulator.c:211:22: warning: If memory allocation fails, then there is a possible null pointer dereference: dname [nullPointerOutOfMemory] tilem-2.0/gui/emulator.c:206:28: note: Assuming allocation function fails tilem-2.0/gui/emulator.c:206:28: note: Assignment 'dname=g_path_get_dirname(romname)', assigned value is 0 tilem-2.0/gui/emulator.c:211:22: note: Null pointer dereference 2.17.0 tilem-2.0/gui/emuwin.c:538:26: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] tilem-2.0/gui/emuwin.c:536:25: note: Assuming allocation function fails tilem-2.0/gui/emuwin.c:536:25: note: Assignment 'name=g_strdup_printf("%s.skn",model)', assigned value is 0 tilem-2.0/gui/emuwin.c:538:26: note: Null pointer dereference 2.17.0 tilem-2.0/gui/filedlg.c:509:18: warning: If memory allocation fails, then there is a possible null pointer dereference: lowercase [nullPointerOutOfMemory] tilem-2.0/gui/filedlg.c:508:29: note: Assuming allocation function fails tilem-2.0/gui/filedlg.c:508:29: note: Assignment 'lowercase=g_ascii_strdown(base,-1)', assigned value is 0 tilem-2.0/gui/filedlg.c:509:18: note: Null pointer dereference 2.17.0 tilem-2.0/gui/keybindings.c:89:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tilem-2.0/gui/keybindings.c:87:16: note: Assuming allocation function fails tilem-2.0/gui/keybindings.c:87:16: note: Assignment 's=g_strndup(pckeys,p-pckeys)', assigned value is 0 tilem-2.0/gui/keybindings.c:89:27: note: Null pointer dereference 2.17.0 tilem-2.0/gui/macro.c:89:23: warning: If memory allocation fails, then there is a possible null pointer dereference: value [ctunullpointerOutOfMemory] tilem-2.0/gui/emulator.c:625:29: note: Assuming allocation function fails tilem-2.0/gui/emulator.c:625:29: note: Assignment 'codechar=g_strdup_printf("%04d",code)', assigned value is 0 tilem-2.0/gui/emulator.c:626:25: note: Calling function tilem_macro_add_action, 3rd argument is null tilem-2.0/gui/macro.c:89:23: note: Dereferencing argument value that is null 2.17.0 tilem-2.0/gui/rcvmenu.c:79:20: warning: If memory allocation fails, then there is a possible null pointer dereference: conflicts [nullPointerOutOfMemory] tilem-2.0/gui/rcvmenu.c:77:29: note: Assuming allocation function fails tilem-2.0/gui/rcvmenu.c:77:29: note: Assignment 'conflicts=g_string_new(NULL)', assigned value is 0 tilem-2.0/gui/rcvmenu.c:79:20: note: Null pointer dereference 2.17.0 tilem-2.0/gui/screenshot.c:167:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: prefix [nullPointerOutOfMemory] tilem-2.0/gui/screenshot.c:159:28: note: Assuming allocation function fails tilem-2.0/gui/screenshot.c:159:28: note: Assignment 'prefix=g_build_filename(folder,basename,NULL)', assigned value is 0 tilem-2.0/gui/screenshot.c:167:43: note: Null pointer dereference 2.17.0 tilem-2.0/gui/screenshot.c:691:20: warning: If memory allocation fails, then there is a possible null pointer dereference: basename [nullPointerOutOfMemory] tilem-2.0/gui/screenshot.c:690:33: note: Assuming allocation function fails tilem-2.0/gui/screenshot.c:690:33: note: Assignment 'basename=g_path_get_basename(filename)', assigned value is 0 tilem-2.0/gui/screenshot.c:691:20: note: Null pointer dereference 2.17.0 tilem-2.0/gui/tool.c:431:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tilem-2.0/gui/tool.c:415:29: note: Assuming allocation function fails tilem-2.0/gui/tool.c:415:29: note: Assignment 'str=g_string_new("")', assigned value is 0 tilem-2.0/gui/tool.c:431:18: note: Null pointer dereference DONE