2024-03-25 20:57 ftp://ftp.de.debian.org/debian/pool/main/s/spice/spice_0.15.1.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: d8e4914 (2024-03-25 20:39:31 +0100) count: 587 530 elapsed-time: 5.6 5.2 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 4.4615s (avg. 4.4615s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.41804s (avg. 0.354511s - 4 result(s)) valueFlowUninit(tokenlist, errorLogger, settings): 0.96049s (avg. 0.240122s - 4 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.806037s (avg. 0.201509s - 4 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.431458s (avg. 0.107865s - 4 result(s)) Overall time: 4.61229s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 4.28165s (avg. 4.28165s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.94009s (avg. 0.485023s - 4 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.897028s (avg. 0.224257s - 4 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, settings): 0.418063s (avg. 0.418063s - 1 result(s)) valueFlowUninit(tokenlist, settings): 0.409705s (avg. 0.102426s - 4 result(s)) Overall time: 4.41702s head results: spice-0.15.1/server/cache-item.tmpl.cpp:39:0: error: #error "no cache type." [preprocessorErrorDirective] spice-0.15.1/server/spice-server.h:27:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS enum { SPICE_COMPAT_VERSION_0_4 = 0 , SPICE_COMPAT_VERSION_0_6 = 1 , } spice_compat_version_t ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/agent-msg-filter.h:28:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS enum { AGENT_MSG_FILTER_OK , AGENT_MSG_FILTER_DISCARD , AGENT_MSG_FILTER_PROTO_ERROR , AGENT_MSG_FILTER_MONITORS_CONFIG , } AgentMsgFilterResult ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/memslot.h:78:1: error: There is an unknown macro here somewhere. Configuration is required. If SPICE_END_DECLS is a macro then please configure it. [unknownMacro] spice-0.15.1/server/reds.h:125:1: error: There is an unknown macro here somewhere. Configuration is required. If SPICE_END_DECLS is a macro then please configure it. [unknownMacro] spice-0.15.1/server/display-channel.cpp:2244:5: error: syntax error [syntaxError] spice-0.15.1/server/glz-encode.tmpl.c:127:22: error: There is an unknown macro here somewhere. Configuration is required. If FNAME is a macro then please configure it. [unknownMacro] spice-0.15.1/server/video-encoder.h:220:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct { SpiceBitmapFmt spice_format ; uint32_t bpp ; char format [ 8 ] ; GstVideoFormat gst_format ; } SpiceFormatForGStreamer ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/utils.hpp:160:17: warning: Member variable 'shared_ptr::p' is not assigned a value in 'shared_ptr::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr::p' is not assigned a value in 'weak_ptr::operator='. [operatorEqVarError] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::recv_fd' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::send_fd' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::lock' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::messages' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::payload' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::payload_size' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::opaque' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/dispatcher.cpp:49:14: warning: Member variable 'DispatcherPrivate::any_handler' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/utils.hpp:85:10: style:inconclusive: Technically the member function 'red::GLibDeleter::operator()' can be const. [functionConst] spice-0.15.1/server/utils.hpp:262:5: style:inconclusive: Technically the member function 'red::shared_ptr_counted::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:369:5: style:inconclusive: Technically the member function 'red::shared_ptr_counted_weak::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:465:5: style:inconclusive: Technically the member function 'red::simple_ptr_counted::operatordelete' can be const. [functionConst] spice-0.15.1/server/dispatcher.cpp:48:5: style:inconclusive: Technically the member function 'DispatcherPrivate::operatordelete' can be const. [functionConst] spice-0.15.1/server/dispatcher.h:66:5: style: Class 'Dispatcher' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < DispatcherPrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/dispatcher.h:158:14: style: The destructor '~Dispatcher' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:268:14: note: Virtual destructor in base class spice-0.15.1/server/dispatcher.h:158:14: note: Destructor in derived class spice-0.15.1/server/red-common.h:67:36: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-common.h:71:52: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/dispatcher.h:108:29: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/dispatcher.cpp:72:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/server/dispatcher.cpp:178:9: style: The scope of the variable 'ret' can be reduced. [variableScope] spice-0.15.1/server/dispatcher.cpp:245:74: style:inconclusive: Function 'send_message' argument 2 names different: declaration 'payload' definition 'msg_payload'. [funcArgNamesDifferent] spice-0.15.1/server/dispatcher.cpp:54:59: note: Function 'send_message' argument 2 names different: declaration 'payload' definition 'msg_payload'. spice-0.15.1/server/dispatcher.cpp:245:74: note: Function 'send_message' argument 2 names different: declaration 'payload' definition 'msg_payload'. spice-0.15.1/server/dispatcher.cpp:245:74: style: Parameter 'msg_payload' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/dispatcher.cpp:316:66: style: Parameter 'core' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/glz-encoder-dict.c:506:19: style: Checking if unsigned expression 'num_lines' is less than zero. [unsignedLessThanZero] spice-0.15.1/server/glz-encoder-dict.c:508:23: style: Checking if unsigned expression 'num_lines' is less than zero. [unsignedLessThanZero] spice-0.15.1/server/glz-encoder-dict.c:527:27: style: Checking if unsigned expression 'num_lines' is less than zero. [unsignedLessThanZero] spice-0.15.1/server/glz-encoder-dict.c:248:62: style:inconclusive: Function 'glz_enc_dictionary_remove_image' argument 2 names different: declaration 'image' definition 'opaque_image'. [funcArgNamesDifferent] spice-0.15.1/server/glz-encoder-dict.h:69:62: note: Function 'glz_enc_dictionary_remove_image' argument 2 names different: declaration 'image' definition 'opaque_image'. spice-0.15.1/server/glz-encoder-dict.c:248:62: note: Function 'glz_enc_dictionary_remove_image' argument 2 names different: declaration 'image' definition 'opaque_image'. spice-0.15.1/server/glz-encoder-dict.c:86:31: style: Variable 'last_seg' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/glz-encoder-dict.c:192:70: style: Parameter 'restore_data' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/glz-encoder-dict.c:347:25: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/glz-encoder-dict.c:376:73: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/glz-encoder-dict.c:431:63: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/glz-encoder-dict.c:445:60: style: Parameter 'end_image' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat-file.h:43:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS struct { uint8_t dummy_empty_field [ 0 ] ; } RedStatCounter ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/memslot.h:26:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS struct MemSlot { int generation ; uintptr_t virt_start_addr ; uintptr_t virt_end_addr ; uintptr_t address_delta ; } MemSlot ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/glz-encoder.h:75:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS enum { JPEG_IMAGE_TYPE_INVALID , JPEG_IMAGE_TYPE_RGB16 , JPEG_IMAGE_TYPE_BGR24 , JPEG_IMAGE_TYPE_BGRX32 , } JpegEncoderImageType ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/image-encoders.h:223:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS enum { BITMAP_GRADUAL_INVALID , BITMAP_GRADUAL_NOT_AVAIL , BITMAP_GRADUAL_LOW , BITMAP_GRADUAL_MEDIUM , BITMAP_GRADUAL_HIGH , } BitmapGradualType ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/red-channel-capabilities.h:25:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS struct RedChannelCapabilities { int num_common_caps ; uint32_t * common_caps ; int num_caps ; uint32_t * caps ; } RedChannelCapabilities ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/stat.h:198:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS struct RedChannelCapabilities { int num_common_caps ; uint32_t * common_caps ; int num_caps ; uint32_t * caps ; } RedChannelCapabilities ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/glz-encoder-dict.h:71:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct SpiceMigrateDataHeader { uint32_t magic ; uint32_t version ; } SpiceMigrateDataHeader ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/inputs-channel-client.h:26:1: style: The class 'InputsChannelClient' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < RedPipeItem >::p' is not assigned a value in 'weak_ptr < RedPipeItem >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < InputsChannel >::p' is not assigned a value in 'weak_ptr < InputsChannel >::operator='. [operatorEqVarError] spice-0.15.1/server/red-pipe-item.h:36:5: style:inconclusive: Technically the member function 'RedPipeItem::operatordelete' can be const. [functionConst] spice-0.15.1/server/safe-list.hpp:43:8: performance:inconclusive: Technically the member function 'Mallocator < red :: shared_ptr < RedPipeItem > >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] spice-0.15.1/server/safe-list.hpp:47:10: performance:inconclusive: Technically the member function 'Mallocator < red :: shared_ptr < RedPipeItem > >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] spice-0.15.1/server/red-pipe-item.h:36:5: warning: The struct 'RedPipeItem' defines member function with name 'operatornew' also defined in its parent class 'shared_ptr_counted'. [duplInheritedMember] spice-0.15.1/server/utils.hpp:262:5: note: Parent function 'shared_ptr_counted::operatornew' spice-0.15.1/server/red-pipe-item.h:36:5: note: Derived function 'RedPipeItem::operatornew' spice-0.15.1/server/red-pipe-item.h:36:5: warning: The struct 'RedPipeItem' defines member function with name 'operatordelete' also defined in its parent class 'shared_ptr_counted'. [duplInheritedMember] spice-0.15.1/server/utils.hpp:262:5: note: Parent function 'shared_ptr_counted::operatordelete' spice-0.15.1/server/red-pipe-item.h:36:5: note: Derived function 'RedPipeItem::operatordelete' spice-0.15.1/server/red-pipe-item.h:36:5: warning: The struct 'RedPipeItem' defines member function with name 'operatornew[]' also defined in its parent class 'shared_ptr_counted'. [duplInheritedMember] spice-0.15.1/server/utils.hpp:262:5: note: Parent function 'shared_ptr_counted::operatornew[]' spice-0.15.1/server/red-pipe-item.h:36:5: note: Derived function 'RedPipeItem::operatornew[]' spice-0.15.1/server/inputs-channel-client.h:34:20: warning: The class 'InputsChannelClient' defines member function with name 'get_channel' also defined in its parent class 'RedChannelClient'. [duplInheritedMember] spice-0.15.1/server/red-channel-client.h:140:17: note: Parent function 'RedChannelClient::get_channel' spice-0.15.1/server/inputs-channel-client.h:34:20: note: Derived function 'InputsChannelClient::get_channel' spice-0.15.1/server/red-pipe-item.h:61:5: style: Struct 'RedPipeItem' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/safe-list.hpp:119:5: style: Class 'iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/inputs-channel.h:39:5: style: Class 'InputsChannel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/safe-list.hpp:40:15: style: Struct 'Mallocator < red :: shared_ptr < RedPipeItem > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedPipeItem >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < InputsChannel >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < RedChannelPrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < RedChannelClientPrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/red-channel.h:68:14: style: The destructor '~RedChannel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:268:14: note: Virtual destructor in base class spice-0.15.1/server/red-channel.h:68:14: note: Destructor in derived class spice-0.15.1/server/red-channel-client.h:39:14: style: The destructor '~RedChannelClient' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:268:14: note: Virtual destructor in base class spice-0.15.1/server/red-channel-client.h:39:14: note: Destructor in derived class spice-0.15.1/server/inputs-channel.h:65:6: style: The destructor '~InputsChannel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/red-channel.h:68:14: note: Virtual destructor in base class spice-0.15.1/server/inputs-channel.h:65:6: note: Destructor in derived class spice-0.15.1/server/inputs-channel-client.cpp:72:56: style:inconclusive: Function 'handle_migrate_data' argument 1 names different: declaration 'motion_count' definition 'new_motion_count'. [funcArgNamesDifferent] spice-0.15.1/server/inputs-channel-client.h:48:39: note: Function 'handle_migrate_data' argument 1 names different: declaration 'motion_count' definition 'new_motion_count'. spice-0.15.1/server/inputs-channel-client.cpp:72:56: note: Function 'handle_migrate_data' argument 1 names different: declaration 'motion_count' definition 'new_motion_count'. spice-0.15.1/server/inputs-channel-client.cpp:84:20: style: Variable 'inputs_channel' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/stat.h:54:29: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:54:48: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:60:31: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:60:50: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:65:35: style: Parameter 'counter' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:65:57: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:71:34: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:71:56: style: Parameter 'counter' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:126:74: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:134:58: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:145:57: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:163:65: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/stat.h:185:56: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/jpeg-encoder.h:37:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS enum { JPEG_IMAGE_TYPE_INVALID , JPEG_IMAGE_TYPE_RGB16 , JPEG_IMAGE_TYPE_BGR24 , JPEG_IMAGE_TYPE_BGRX32 , } JpegEncoderImageType ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/jpeg-encoder.c:116:15: style: Variable 'src_line' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/jpeg-encoder.c:152:15: style: Variable 'src_line' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/lz4-encoder.h:54:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct Lz4Encoder { struct Lz4EncoderUsrContext * usr ; } Lz4Encoder ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/lz4-encoder.c:99:30: style: Checking if unsigned expression 'num_io_bytes' is less than zero. [unsignedLessThanZero] spice-0.15.1/server/lz4-encoder.c:50:19: style: Variable 'num_lines' is assigned a value that is never used. [unreadVariable] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < RedDrawable >::p' is not assigned a value in 'weak_ptr < RedDrawable >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:465:5: style:inconclusive: Technically the member function 'simple_ptr_counted < RedDrawable >::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:465:5: style:inconclusive: Technically the member function 'simple_ptr_counted < RedUpdateCmd >::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:465:5: style:inconclusive: Technically the member function 'simple_ptr_counted < RedMessage >::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:465:5: style:inconclusive: Technically the member function 'simple_ptr_counted < RedSurfaceCmd >::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:465:5: style:inconclusive: Technically the member function 'simple_ptr_counted < RedCursorCmd >::operatordelete' can be const. [functionConst] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedDrawable >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < const RedUpdateCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < const RedMessage >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < const RedSurfaceCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < const RedCursorCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/gstreamer-encoder.c:1265:19: style: Variable 'src' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/gstreamer-encoder.c:1295:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/gstreamer-encoder.c:1689:22: style: Variable 'encoder' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/gstreamer-encoder.c:1736:65: style: Parameter 'cbs' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/image-encoders.cpp:275:24: style: Variable 'chunk' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/image-encoders.cpp:393:20: style: Variable 'this_enc' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/image-encoders.cpp:707:60: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/memslot.h:48:50: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/memslot.h:53:58: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/memslot.c:64:30: error: There is an unknown macro here somewhere. Configuration is required. If G_GINTPTR_MODIFIER is a macro then please configure it. [unknownMacro] spice-0.15.1/server/mjpeg-encoder.c:627:35: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT64_FORMAT is a macro then please configure it. [unknownMacro] spice-0.15.1/server/red-channel-client.cpp:50:1: debug: Failed to parse 'using get_msg_type_proc = uint16_t ( * ) ( SpiceDataHeaderOpaque * header ) ;'. The checking continues anyway. [simplifyUsing] spice-0.15.1/server/red-channel-client.cpp:51:1: debug: Failed to parse 'using get_msg_size_proc = uint32_t ( * ) ( SpiceDataHeaderOpaque * header ) ;'. The checking continues anyway. [simplifyUsing] spice-0.15.1/server/red-channel-client.cpp:52:1: debug: Failed to parse 'using set_msg_type_proc = void ( * ) ( SpiceDataHeaderOpaque * header , uint16_t type ) ;'. The checking continues anyway. [simplifyUsing] spice-0.15.1/server/red-channel-client.cpp:53:1: debug: Failed to parse 'using set_msg_size_proc = void ( * ) ( SpiceDataHeaderOpaque * header , uint32_t size ) ;'. The checking continues anyway. [simplifyUsing] spice-0.15.1/server/red-channel-client.cpp:54:1: debug: Failed to parse 'using set_msg_serial_proc = void ( * ) ( SpiceDataHeaderOpaque * header , uint64_t serial ) ;'. The checking continues anyway. [simplifyUsing] spice-0.15.1/server/red-channel-client.cpp:55:1: debug: Failed to parse 'using set_msg_sub_list_proc = void ( * ) ( SpiceDataHeaderOpaque * header , uint32_t sub_list ) ;'. The checking continues anyway. [simplifyUsing] spice-0.15.1/server/red-pipe-item.cpp:23:30: style:inconclusive: Function 'RedPipeItem' argument 1 names different: declaration 'type' definition 'init_type'. [funcArgNamesDifferent] spice-0.15.1/server/red-pipe-item.h:61:21: note: Function 'RedPipeItem' argument 1 names different: declaration 'type' definition 'init_type'. spice-0.15.1/server/red-pipe-item.cpp:23:30: note: Function 'RedPipeItem' argument 1 names different: declaration 'type' definition 'init_type'. spice-0.15.1/server/red-record-qxl.cpp:869:21: warning:inconclusive: Invalid dup2() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] spice-0.15.1/server/red-record-qxl.cpp:854:23: note: Assignment 'fd_in=-1', assigned value is -1 spice-0.15.1/server/red-record-qxl.cpp:858:13: note: Assuming condition is false spice-0.15.1/server/red-record-qxl.cpp:869:21: note: Invalid argument spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/red-record-qxl.cpp:763:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:763:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:763:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:765:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:765:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:765:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:765:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spice-0.15.1/server/red-record-qxl.cpp:146:13: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:156:15: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:172:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:197:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:208:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:220:24: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:248:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:267:18: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:297:40: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:418:15: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:433:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:509:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:583:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:660:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:679:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:680:40: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:689:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:705:17: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:716:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:736:11: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-record-qxl.cpp:827:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/server/red-record-qxl.cpp:870:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/server/red-record-qxl.cpp:176:54: style: Parameter 'qxl' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-record-qxl.cpp:181:58: style: Parameter 'qxl' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-record-qxl.cpp:186:72: style: Parameter 'qxl' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-record-qxl.cpp:265:25: style: Variable 'qp' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/red-record-qxl.cpp:414:18: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/red-record-qxl.cpp:671:17: style: Variable 'qxl' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/red-record-qxl.cpp:757:61: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-record-qxl.cpp:758:49: style: Parameter 'line_0' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-channel-client.cpp:1603:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] spice-0.15.1/server/red-channel-client.cpp:1629:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] spice-0.15.1/server/red-channel-client.cpp:293:26: warning: Member variable 'RedChannelClientPrivate::block_read' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/red-channel-client.cpp:293:26: warning: Member variable 'RedChannelClientPrivate::during_send' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/red-channel-client.cpp:293:26: warning: Member variable 'RedChannelClientPrivate::wait_migrate_data' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/red-channel-client.cpp:293:26: warning: Member variable 'RedChannelClientPrivate::wait_migrate_flush_mark' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/red-channel-client.cpp:293:26: warning: Member variable 'RedChannelClientPrivate::latency_monitor' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/red-channel-client.cpp:293:26: warning: Member variable 'RedChannelClientPrivate::connectivity_monitor' is not initialized in the constructor. [uninitMemberVar] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < MainChannel >::p' is not assigned a value in 'weak_ptr < MainChannel >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < RedAgentDataPipeItem >::p' is not assigned a value in 'weak_ptr < RedAgentDataPipeItem >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < MainChannelClient >::p' is not assigned a value in 'weak_ptr < MainChannelClient >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < RedChannel >::p' is not assigned a value in 'weak_ptr < RedChannel >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < RedChannelClient >::p' is not assigned a value in 'weak_ptr < RedChannelClient >::operator='. [operatorEqVarError] spice-0.15.1/server/red-client.h:32:5: style:inconclusive: Technically the member function 'RedClient::operatordelete' can be const. [functionConst] spice-0.15.1/server/red-channel-client.cpp:119:5: style:inconclusive: Technically the member function 'RedChannelClientPrivate::operatordelete' can be const. [functionConst] spice-0.15.1/server/red-channel-client.cpp:184:16: style:inconclusive: Technically the member function 'RedChannelClientPrivate::get_out_msg_size' can be const. [functionConst] spice-0.15.1/server/red-channel-client.cpp:390:37: note: Technically the member function 'RedChannelClientPrivate::get_out_msg_size' can be const. spice-0.15.1/server/red-channel-client.cpp:184:16: note: Technically the member function 'RedChannelClientPrivate::get_out_msg_size' can be const. spice-0.15.1/server/red-channel-client.cpp:193:16: style:inconclusive: Technically the member function 'RedChannelClientPrivate::urgent_marshaller_is_active' can be const. [functionConst] spice-0.15.1/server/red-channel-client.cpp:406:37: note: Technically the member function 'RedChannelClientPrivate::urgent_marshaller_is_active' can be const. spice-0.15.1/server/red-channel-client.cpp:193:16: note: Technically the member function 'RedChannelClientPrivate::urgent_marshaller_is_active' can be const. spice-0.15.1/server/red-channel-client.cpp:194:16: style:inconclusive: Technically the member function 'RedChannelClientPrivate::waiting_for_ack' can be const. [functionConst] spice-0.15.1/server/red-channel-client.cpp:631:37: note: Technically the member function 'RedChannelClientPrivate::waiting_for_ack' can be const. spice-0.15.1/server/red-channel-client.cpp:194:16: note: Technically the member function 'RedChannelClientPrivate::waiting_for_ack' can be const. spice-0.15.1/server/red-channel-client.cpp:196:10: style:inconclusive: Technically the member function 'RedChannelClientPrivate::watch_update_mask' can be const. [functionConst] spice-0.15.1/server/red-channel-client.cpp:858:31: note: Technically the member function 'RedChannelClientPrivate::watch_update_mask' can be const. spice-0.15.1/server/red-channel-client.cpp:196:10: note: Technically the member function 'RedChannelClientPrivate::watch_update_mask' can be const. spice-0.15.1/server/main-channel-client.h:64:14: warning: The class 'MainChannelClient' defines member function with name 'get_roundtrip_ms' also defined in its parent class 'RedChannelClient'. [duplInheritedMember] spice-0.15.1/server/red-channel-client.cpp:1189:23: note: Parent function 'RedChannelClient::get_roundtrip_ms' spice-0.15.1/server/main-channel-client.h:64:14: note: Derived function 'MainChannelClient::get_roundtrip_ms' spice-0.15.1/server/main-channel-client.h:79:18: warning: The class 'MainChannelClient' defines member function with name 'get_channel' also defined in its parent class 'RedChannelClient'. [duplInheritedMember] spice-0.15.1/server/red-channel-client.cpp:370:31: note: Parent function 'RedChannelClient::get_channel' spice-0.15.1/server/main-channel-client.h:79:18: note: Derived function 'MainChannelClient::get_channel' spice-0.15.1/server/main-channel.h:74:5: style: Struct 'MainChannel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < MainChannel >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedAgentDataPipeItem >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < MainChannelClient >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedChannel >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedChannelClient >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < MainChannelClientPrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/red-channel-client.cpp:1599:22: style: Condition 'mark_item->item_sent' is always false [knownConditionTrueFalse] spice-0.15.1/server/red-channel-client.cpp:1593:28: note: Assignment 'mark_item->item_sent=false', assigned value is 0 spice-0.15.1/server/red-channel-client.cpp:1599:22: note: Condition 'mark_item->item_sent' is always false spice-0.15.1/server/red-channel-client.cpp:748:29: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-channel-client.cpp:753:29: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-channel-client.cpp:758:29: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-channel-client.cpp:763:29: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/red-channel-client.cpp:937:13: style: The scope of the variable 'n' can be reduced. [variableScope] spice-0.15.1/server/red-channel-client.cpp:1031:14: style: The scope of the variable 'msg_type' can be reduced. [variableScope] spice-0.15.1/server/red-channel-client.cpp:1032:14: style: The scope of the variable 'msg_size' can be reduced. [variableScope] spice-0.15.1/server/red-channel-client.cpp:293:62: style:inconclusive: Function 'RedChannelClientPrivate' argument 1 names different: declaration 'channel' definition 'init_channel'. [funcArgNamesDifferent] spice-0.15.1/server/red-channel-client.cpp:121:41: note: Function 'RedChannelClientPrivate' argument 1 names different: declaration 'channel' definition 'init_channel'. spice-0.15.1/server/red-channel-client.cpp:293:62: note: Function 'RedChannelClientPrivate' argument 1 names different: declaration 'channel' definition 'init_channel'. spice-0.15.1/server/red-channel-client.cpp:294:61: style:inconclusive: Function 'RedChannelClientPrivate' argument 2 names different: declaration 'client' definition 'init_client'. [funcArgNamesDifferent] spice-0.15.1/server/red-channel-client.cpp:122:40: note: Function 'RedChannelClientPrivate' argument 2 names different: declaration 'client' definition 'init_client'. spice-0.15.1/server/red-channel-client.cpp:294:61: note: Function 'RedChannelClientPrivate' argument 2 names different: declaration 'client' definition 'init_client'. spice-0.15.1/server/red-channel-client.cpp:295:61: style:inconclusive: Function 'RedChannelClientPrivate' argument 3 names different: declaration 'stream' definition 'init_stream'. [funcArgNamesDifferent] spice-0.15.1/server/red-channel-client.cpp:123:40: note: Function 'RedChannelClientPrivate' argument 3 names different: declaration 'stream' definition 'init_stream'. spice-0.15.1/server/red-channel-client.cpp:295:61: note: Function 'RedChannelClientPrivate' argument 3 names different: declaration 'stream' definition 'init_stream'. spice-0.15.1/server/red-channel-client.cpp:297:55: style:inconclusive: Function 'RedChannelClientPrivate' argument 5 names different: declaration 'monitor_latency' definition 'init_monitor_latency'. [funcArgNamesDifferent] spice-0.15.1/server/red-channel-client.cpp:125:34: note: Function 'RedChannelClientPrivate' argument 5 names different: declaration 'monitor_latency' definition 'init_monitor_latency'. spice-0.15.1/server/red-channel-client.cpp:297:55: note: Function 'RedChannelClientPrivate' argument 5 names different: declaration 'monitor_latency' definition 'init_monitor_latency'. spice-0.15.1/server/red-channel-client.cpp:1402:58: style:inconclusive: Function 'pipe_add_after_pos' argument 2 names different: declaration 'pos' definition 'pipe_item_pos'. [funcArgNamesDifferent] spice-0.15.1/server/red-channel-client.h:92:62: note: Function 'pipe_add_after_pos' argument 2 names different: declaration 'pos' definition 'pipe_item_pos'. spice-0.15.1/server/red-channel-client.cpp:1402:58: note: Function 'pipe_add_after_pos' argument 2 names different: declaration 'pos' definition 'pipe_item_pos'. spice-0.15.1/server/red-channel-client.cpp:442:21: style: Local variable 'migrate' shadows outer function [shadowFunction] spice-0.15.1/server/red-channel-client.h:151:18: note: Shadowed declaration spice-0.15.1/server/red-channel-client.cpp:442:21: note: Shadow variable spice-0.15.1/server/red-channel-client.cpp:296:74: style: Parameter 'caps' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-channel-client.cpp:486:10: style: Variable 'msg_pipe_item' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/red-channel-client.cpp:575:56: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/red-channel-client.cpp:700:33: style: Variable 'core' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/red-channel-client.cpp:791:63: style: Parameter 'header' can be declared as pointer to const. However it seems that 'mini_header_set_msg_serial' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/red-channel-client.cpp:224:59: note: You might need to cast the function pointer here spice-0.15.1/server/red-channel-client.cpp:791:63: note: Parameter 'header' can be declared as pointer to const spice-0.15.1/server/red-channel-client.cpp:801:65: style: Parameter 'header' can be declared as pointer to const. However it seems that 'mini_header_set_msg_sub_list' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/red-channel-client.cpp:225:59: note: You might need to cast the function pointer here spice-0.15.1/server/red-channel-client.cpp:801:65: note: Parameter 'header' can be declared as pointer to const spice-0.15.1/server/red-channel-client.cpp:1272:55: error: Uninitialized variable: serial [uninitvar] spice-0.15.1/server/spice-bitmap-utils.h:24:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS enum { BITMAP_GRADUAL_INVALID , BITMAP_GRADUAL_NOT_AVAIL , BITMAP_GRADUAL_LOW , BITMAP_GRADUAL_MEDIUM , BITMAP_GRADUAL_HIGH , } BitmapGradualType ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/spice-bitmap-utils.tmpl.c:65:19: error: There is an unknown macro here somewhere. Configuration is required. If FNAME is a macro then please configure it. [unknownMacro] spice-0.15.1/server/utils.hpp:314:15: warning: Member variable 'weak_ptr < RedCharDeviceSmartcard >::p' is not assigned a value in 'weak_ptr < RedCharDeviceSmartcard >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:160:17: warning: Member variable 'shared_ptr < RedPipeItem >::p' is not assigned a value in 'shared_ptr < RedPipeItem >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:160:17: warning: Member variable 'shared_ptr < RedCharDevice >::p' is not assigned a value in 'shared_ptr < RedCharDevice >::operator='. [operatorEqVarError] spice-0.15.1/server/utils.hpp:160:17: warning: Member variable 'shared_ptr < RedCharDeviceSmartcard >::p' is not assigned a value in 'shared_ptr < RedCharDeviceSmartcard >::operator='. [operatorEqVarError] spice-0.15.1/server/smartcard-channel-client.cpp:23:5: style:inconclusive: Technically the member function 'SmartCardChannelClientPrivate::operatordelete' can be const. [functionConst] spice-0.15.1/server/smartcard.h:40:53: warning: The class 'RedCharDeviceSmartcard' defines member variable with name 'priv' also defined in its parent class 'RedCharDevice'. [duplInheritedMember] spice-0.15.1/server/char-device.h:182:44: note: Parent variable 'RedCharDevice::priv' spice-0.15.1/server/smartcard.h:40:53: note: Derived variable 'RedCharDeviceSmartcard::priv' spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedCharDevice >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:157:5: style: Class 'shared_ptr < RedCharDeviceSmartcard >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < RedCharDevicePrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < RedCharDeviceSmartcardPrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/utils.hpp:57:5: style: Class 'unique_link < SmartCardChannelClientPrivate >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] spice-0.15.1/server/char-device.h:112:6: style: The destructor '~RedCharDevice' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:375:14: note: Virtual destructor in base class spice-0.15.1/server/char-device.h:112:6: note: Destructor in derived class spice-0.15.1/server/smartcard.h:35:6: style: The destructor '~RedCharDeviceSmartcard' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/char-device.h:112:6: note: Virtual destructor in base class spice-0.15.1/server/smartcard.h:35:6: note: Destructor in derived class spice-0.15.1/server/smartcard-channel-client.h:31:6: style: The destructor '~SmartCardChannelClient' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/red-channel-client.h:39:14: note: Virtual destructor in base class spice-0.15.1/server/smartcard-channel-client.h:31:6: note: Destructor in derived class spice-0.15.1/server/smartcard-channel-client.cpp:75:48: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/smartcard-channel-client.cpp:126:32: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/smartcard-channel-client.cpp:205:29: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/smartcard-channel-client.cpp:256:14: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/smartcard-channel-client.cpp:257:17: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/spice-server-enums.h:12:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct EnumValues { int value ; const char * nick ; } EnumValues ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/spice-bitmap-utils.tmpl.c:94:56: style: Parameter 'line1' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/spice-bitmap-utils.tmpl.c:94:70: style: Parameter 'line2' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/spice-bitmap-utils.tmpl.c:123:12: style: Variable 'last_line' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/stat-file.c:126:49: style: Condition 'n=&stat_file->stat->nodes[node_index]' is always true [knownConditionTrueFalse] spice-0.15.1/server/stat-file.c:100:49: style: Parameter 'stat_file' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/tests/test-glib-compat.h:30:5: error: There is an unknown macro here somewhere. Configuration is required. If G_GNUC_END_IGNORE_DEPRECATIONS is a macro then please configure it. [unknownMacro] spice-0.15.1/server/tests/basic-event-loop.c:46:72: style: Parameter 'info' can be declared as pointer to const. However it seems that 'event_loop_channel_event' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/basic-event-loop.c:104:22: note: You might need to cast the function pointer here spice-0.15.1/server/tests/basic-event-loop.c:46:72: note: Parameter 'info' can be declared as pointer to const spice-0.15.1/server/tests/stat-test.c:42:0: error: #error TEST_NAME must be defined! [preprocessorErrorDirective] spice-0.15.1/server/tests/test-agent-msg-filter.c:39:44: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-channel.cpp:132:84: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-codecs-parsing.c:42:73: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-dispatcher.cpp:78:24: error: syntax error [syntaxError] spice-0.15.1/server/tests/basic-event-loop.h:32:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS enum { PATH_PROGRESS , SIMPLE_CREATE_SURFACE , SIMPLE_DRAW , SIMPLE_DRAW_BITMAP , SIMPLE_DRAW_SOLID , SIMPLE_COPY_BITS , SIMPLE_DESTROY_SURFACE , SIMPLE_UPDATE , DESTROY_PRIMARY , CREATE_PRIMARY , SLEEP } CommandType ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/server/tests/test-empty-success.c:32:35: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'timer_add' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:93:22: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:32:35: note: Parameter 'opaque' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:39:43: style: Parameter 'timer' can be declared as pointer to const. However it seems that 'timer_start' is a callback function, if 'timer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:94:24: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:39:43: note: Parameter 'timer' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:46:44: style: Parameter 'timer' can be declared as pointer to const. However it seems that 'timer_cancel' is a callback function, if 'timer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:95:25: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:46:44: note: Parameter 'timer' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:52:44: style: Parameter 'timer' can be declared as pointer to const. However it seems that 'timer_remove' is a callback function, if 'timer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:96:25: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:52:44: note: Parameter 'timer' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:61:35: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'watch_add' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:97:22: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:61:35: note: Parameter 'opaque' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:68:49: style: Parameter 'watch' can be declared as pointer to const. However it seems that 'watch_update_mask' is a callback function, if 'watch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:98:30: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:68:49: note: Parameter 'watch' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:75:44: style: Parameter 'watch' can be declared as pointer to const. However it seems that 'watch_remove' is a callback function, if 'watch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:99:25: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:75:44: note: Parameter 'watch' can be declared as pointer to const spice-0.15.1/server/tests/test-empty-success.c:82:56: style: Parameter 'info' can be declared as pointer to const. However it seems that 'channel_event' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:100:26: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:82:56: note: Parameter 'info' can be declared as pointer to const spice-0.15.1/server/tests/test-fail-on-null-core-interface.c:32:27: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-leaks.c:62:27: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-listen.c:152:32: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-loop.c:123:11: style: Variable 'timer' is reassigned a value before the old one has been used. [redundantAssignment] spice-0.15.1/server/tests/test-loop.c:120:11: note: timer is assigned spice-0.15.1/server/tests/test-loop.c:123:11: note: timer is overwritten spice-0.15.1/server/tests/test-loop.c:40:29: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'timer_err' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-loop.c:123:43: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-loop.c:40:29: note: Parameter 'opaque' can be declared as pointer to const spice-0.15.1/server/tests/test-display-streaming.c:79:40: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/tests/test-options.c:39:52: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-gst.cpp:268:34: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-gst.cpp:440:25: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-gst.cpp:566:31: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-gst.cpp:583:31: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-gst.cpp:698:51: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-gst.cpp:863:27: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-gst.cpp:875:23: style: C-style pointer casting [cstyleCast] spice-0.15.1/server/tests/test-qxl-parsing.cpp:229:46: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-gst.cpp:668:35: style:inconclusive: Function 'create_input_pipeline' argument 1 names different: declaration 'input_pipeline' definition 'input_pipeline_desc'. [funcArgNamesDifferent] spice-0.15.1/server/tests/test-gst.cpp:181:47: note: Function 'create_input_pipeline' argument 1 names different: declaration 'input_pipeline' definition 'input_pipeline_desc'. spice-0.15.1/server/tests/test-gst.cpp:668:35: note: Function 'create_input_pipeline' argument 1 names different: declaration 'input_pipeline' definition 'input_pipeline_desc'. spice-0.15.1/server/tests/test-gst.cpp:692:61: style:inconclusive: Function 'pipeline_send_raw_data' argument 2 names different: declaration 'buffer' definition 'video_buffer'. [funcArgNamesDifferent] spice-0.15.1/server/tests/test-gst.cpp:179:73: note: Function 'pipeline_send_raw_data' argument 2 names different: declaration 'buffer' definition 'video_buffer'. spice-0.15.1/server/tests/test-gst.cpp:692:61: note: Function 'pipeline_send_raw_data' argument 2 names different: declaration 'buffer' definition 'video_buffer'. spice-0.15.1/server/tests/test-gst.cpp:440:16: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/tests/test-gst.cpp:712:33: style: Parameter 'pipeline' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/tests/test-gst.cpp:722:29: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'mock_get_roundtrip_ms' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-gst.cpp:743:25: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-gst.cpp:722:29: note: Parameter 'opaque' can be declared as pointer to const spice-0.15.1/server/tests/test-gst.cpp:729:27: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'mock_get_source_fps' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-gst.cpp:744:23: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-gst.cpp:729:27: note: Parameter 'opaque' can be declared as pointer to const spice-0.15.1/server/tests/test-gst.cpp:736:41: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'mock_update_client_playback_delay' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-gst.cpp:745:37: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-gst.cpp:736:41: note: Parameter 'opaque' can be declared as pointer to const spice-0.15.1/server/tests/test-gst.cpp:1020:18: style: Variable 'line1' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/tests/test-gst.cpp:1021:18: style: Variable 'line2' can be declared as pointer to const [constVariablePointer] spice-0.15.1/server/tests/test-record.c:45:40: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-sasl.c:311:52: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-smartcard.cpp:85:61: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-stat-file.c:49:29: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-stream-device.cpp:84:33: error: syntax error [syntaxError] spice-0.15.1/server/tests/test-vdagent.c:123:27: error: syntax error [syntaxError] spice-0.15.1/server/tests/vmc-emu.cpp:113:50: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/websocket.h:55:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct { uint8_t raw_pos ; union { uint8_t raw_data [ 125 + 2 ] ; struct { uint8_t type ; uint8_t data_len ; uint8_t data [ 125 ] ; } ; } ; } WebSocketControl ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/agent.h:23:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS union SPICE_ATTR_PACKED AgentFileXferStatusMessageFull { VDAgentFileXferStatusMessage common ; struct SPICE_ATTR_PACKED { char common_not_enough_space [ sizeof ( VDAgentFileXferStatusMessage ) ] ; VDAgentFileXferStatusNotEnoughSpace not_enough_space ; } ; struct SPICE_ATTR_PACKED { char common_error [ sizeof ( VDAgentFileXferStatusMessage ) ] ; VDAgentFileXferStatusError error ; } ; } AgentFileXferStatusMessageFull ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/agent.h:83:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct SPICE_ATTR_PACKED { uint16_t v ; } uint16_unaligned_t ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/agent.c:223:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/agent.c:315:33: style: Variable 'vdata' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/agent_interface.c:377:54: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/agent_interface.c:377:76: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/canvas_base.c:418:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/canvas_utils.c:72:5: error: syntax error [syntaxError] spice-0.15.1/server/websocket.c:186:50: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] spice-0.15.1/server/websocket.c:214:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:43:77: style: Parameter 'm' can be declared as pointer to const. However it seems that 'spice_marshall_SpiceMsgEmpty' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:319:37: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:43:77: note: Parameter 'm' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:58:76: style: Parameter 'm' can be declared as pointer to const. However it seems that 'spice_marshall_SpiceMsgData' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:318:36: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:58:76: note: Parameter 'm' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:155:89: style: Parameter 'm' can be declared as pointer to const. However it seems that 'spice_marshall_msgc_display_gl_draw_done' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:322:45: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:155:89: note: Parameter 'm' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_marshallers.c:43:69: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_marshallers.c:114:70: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:226:17: style: Checking if unsigned expression '(unsigned long)(message_end-start)' is less than zero. [unsignedLessThanZero] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:222:15: note: Assignment 'nw_size=0', assigned value is 0 spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:226:17: note: Unsigned less than zero spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:770:17: style: Checking if unsigned expression '(unsigned long)(message_end-start)' is less than zero. [unsignedLessThanZero] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:766:15: note: Assignment 'nw_size=0', assigned value is 0 spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:770:17: note: Unsigned less than zero spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:171:71: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_ack_sync' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1712:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:171:71: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:178:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:213:71: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_SpiceMsgEmpty' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1715:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:213:71: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:220:14: style: Variable 'in' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:220:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:251:67: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_pong' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1714:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:251:67: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:258:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:294:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'nofree' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:326:21: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:294:47: note: Parameter 'data' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:298:70: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_SpiceMsgData' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1720:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:298:70: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:334:76: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:341:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:377:79: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_main_client_info' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:598:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:377:79: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:384:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:419:86: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_main_mouse_mode_request' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:602:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:419:86: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:426:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:461:79: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_main_agent_start' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:603:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:461:79: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:468:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:503:79: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_main_agent_token' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:605:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:503:79: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:510:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:545:91: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_main_migrate_dst_do_seamless' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:607:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:545:91: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:552:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:621:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_display_init' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:869:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:621:75: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:628:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:666:84: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_display_stream_report' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:870:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:666:84: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:673:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:715:92: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_display_preferred_compression' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:871:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:715:92: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:722:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:757:83: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_display_gl_draw_done' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:872:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:757:83: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:764:14: style: Variable 'in' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:764:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:795:97: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:885:78: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_inputs_key_down' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1197:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:885:78: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:892:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:927:76: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_inputs_key_up' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1198:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:927:76: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:934:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:969:83: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_inputs_key_modifiers' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1199:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:969:83: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:976:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1011:82: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_inputs_mouse_motion' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1203:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1011:82: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1018:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1055:84: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_inputs_mouse_position' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1204:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1055:84: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1062:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1100:81: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_inputs_mouse_press' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1205:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1100:81: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1107:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1143:83: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1150:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1256:74: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_record_data' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1424:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1256:74: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1263:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1313:74: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msgc_record_mode' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1425:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1313:74: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1320:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1371:80: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1378:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:52: style: Parameter 'message_start' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msgc' is a callback function, if 'message_start' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1746:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:52: note: Parameter 'message_start' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:76: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msgc' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1746:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:76: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:149: style: Parameter 'size_out' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msgc' is a callback function, if 'size_out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1746:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:149: note: Parameter 'size_out' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1534:80: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1541:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1638:73: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1645:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:165:14: style: struct member 'PointerInfo::offset' is never used. [unusedStructMember] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:166:18: style: struct member 'PointerInfo::parse' is never used. [unusedStructMember] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:167:13: style: struct member 'PointerInfo::dest' is never used. [unusedStructMember] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:168:14: style: struct member 'PointerInfo::nelements' is never used. [unusedStructMember] spice-0.15.1/subprojects/spice-common/common/log.c:34:1: error: There is an unknown macro here somewhere. Configuration is required. If G_GNUC_PRINTF is a macro then please configure it. [unknownMacro] spice-0.15.1/subprojects/spice-common/common/log.h:108:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS struct SpiceChunk { uint8_t * data ; uint32_t len ; } SpiceChunk ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/draw.h:303:0: debug: Failed to parse 'typedef SPICE_END_DECLS SPICE_BEGIN_DECLS enum { SPICE_ROP_CLEAR , SPICE_ROP_AND , SPICE_ROP_AND_REVERSE , SPICE_ROP_COPY , SPICE_ROP_AND_INVERTED , SPICE_ROP_NOOP , SPICE_ROP_XOR , SPICE_ROP_OR , SPICE_ROP_NOR , SPICE_ROP_EQUIV , SPICE_ROP_INVERT , SPICE_ROP_OR_REVERSE , SPICE_ROP_COPY_INVERTED , SPICE_ROP_OR_INVERTED , SPICE_ROP_NAND , SPICE_ROP_SET } SpiceROP ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/lz.c:173:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/lz_compress_tmpl.c:162:13: error: There is an unknown macro here somewhere. Configuration is required. If FNAME is a macro then please configure it. [unknownMacro] spice-0.15.1/subprojects/spice-common/common/lz_decompress_tmpl.c:222:15: error: There is an unknown macro here somewhere. Configuration is required. If FNAME is a macro then please configure it. [unknownMacro] spice-0.15.1/server/glz-encoder.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] spice-0.15.1/subprojects/spice-common/common/marshaller.c:659:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/mem.c:96:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:112:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:126:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:139:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:150:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:156:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:166:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:176:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] spice-0.15.1/subprojects/spice-common/common/mem.c:250:37: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/mem.c:255:40: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/pixman_utils.c:213:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/quic_family_tmpl.c:35:28: error: There is an unknown macro here somewhere. Configuration is required. If FNAME is a macro then please configure it. [unknownMacro] spice-0.15.1/subprojects/spice-common/common/quic_tmpl.c:151:0: error: #error BPC must be 5 or 8 [preprocessorErrorDirective] spice-0.15.1/subprojects/spice-common/common/quic.c:247:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:137:54: style:inconclusive: Function 'recorder_ring_read' argument 2 names different: declaration 'data' definition 'destination'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.h:176:50: note: Function 'recorder_ring_read' argument 2 names different: declaration 'data' definition 'destination'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:137:54: note: Function 'recorder_ring_read' argument 2 names different: declaration 'data' definition 'destination'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:139:54: style:inconclusive: Function 'recorder_ring_read' argument 4 names different: declaration 'reader' definition 'reader_ptr'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.h:177:55: note: Function 'recorder_ring_read' argument 4 names different: declaration 'reader' definition 'reader_ptr'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:139:54: note: Function 'recorder_ring_read' argument 4 names different: declaration 'reader' definition 'reader_ptr'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:215:55: style:inconclusive: Function 'recorder_ring_write' argument 2 names different: declaration 'data' definition 'source'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.h:182:57: note: Function 'recorder_ring_write' argument 2 names different: declaration 'data' definition 'source'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:215:55: note: Function 'recorder_ring_write' argument 2 names different: declaration 'data' definition 'source'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:219:55: style:inconclusive: Function 'recorder_ring_write' argument 6 names different: declaration 'writer' definition 'writer_ptr'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.h:185:56: note: Function 'recorder_ring_write' argument 6 names different: declaration 'writer' definition 'writer_ptr'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:219:55: note: Function 'recorder_ring_write' argument 6 names different: declaration 'writer' definition 'writer_ptr'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:80:71: style: Parameter 'reader' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:94:54: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:151:19: style: Variable 'data' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder_ring.c:150:29: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] spice-0.15.1/subprojects/spice-common/common/region.c:506:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] spice-0.15.1/subprojects/spice-common/common/region.c:273:32: style:inconclusive: Function 'region_test' argument 1 names different: declaration 'rgn' definition '_reg1'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/region.h:49:32: note: Function 'region_test' argument 1 names different: declaration 'rgn' definition '_reg1'. spice-0.15.1/subprojects/spice-common/common/region.c:273:32: note: Function 'region_test' argument 1 names different: declaration 'rgn' definition '_reg1'. spice-0.15.1/subprojects/spice-common/common/region.c:273:54: style:inconclusive: Function 'region_test' argument 2 names different: declaration 'other_rgn' definition '_reg2'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/region.h:49:52: note: Function 'region_test' argument 2 names different: declaration 'other_rgn' definition '_reg2'. spice-0.15.1/subprojects/spice-common/common/region.c:273:54: note: Function 'region_test' argument 2 names different: declaration 'other_rgn' definition '_reg2'. spice-0.15.1/subprojects/spice-common/common/region.c:78:38: style: Parameter 'r1_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/region.c:80:38: style: Parameter 'r2_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/region.c:146:21: style: Variable 'r1_end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/region.c:147:21: style: Variable 'r2_end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/region.c:389:21: style: Variable 'extents' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/region.c:418:21: style: Variable 'extents1' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/region.c:418:32: style: Variable 'extents2' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/region.c:494:21: style: Variable 'rects' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/region.c:494:29: style: Variable 'extents' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/rop3.c:620:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:73:5: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:974:19: style: Condition 'status==0' is always true [knownConditionTrueFalse] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:971:30: note: Calling function 'pattern_comp' returns 0 spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:971:30: note: Assignment 'status=pattern_comp(&re,what)', assigned value is 0 spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:974:19: note: Condition 'status==0' is always true spice-0.15.1/subprojects/spice-common/common/snd_codec.h:40:0: debug: Failed to parse 'typedef SPICE_BEGIN_DECLS enum { SND_CODEC_OK , SND_CODEC_UNAVAILABLE , SND_CODEC_ENCODER_UNAVAILABLE , SND_CODEC_DECODER_UNAVAILABLE , SND_CODEC_ENCODE_FAILED , SND_CODEC_DECODE_FAILED , SND_CODEC_INVALID_ENCODE_SIZE , } SndCodecResult ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1594:16: style: Condition 'status==0' is always true [knownConditionTrueFalse] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1590:42: note: Calling function 'pattern_comp' returns 0 spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1590:42: note: Assignment 'status=pattern_comp(&re,pattern)', assigned value is 0 spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1594:16: note: Condition 'status==0' is always true spice-0.15.1/subprojects/spice-common/common/mem.h:193:0: debug: Failed to parse 'typedef SPICE_END_DECLS struct SndCodecInternal { SpiceAudioDataMode mode ; int frequency ; } SndCodecInternal ;'. The checking continues anyway. [simplifyTypedef] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2362:24: style: Condition 'status==0' is always true [knownConditionTrueFalse] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2361:38: note: Calling function 'pattern_comp' returns 0 spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2361:38: note: Assignment 'status=pattern_comp(&re,param)', assigned value is 0 spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2362:24: note: Condition 'status==0' is always true spice-0.15.1/subprojects/spice-common/common/snd_codec.c:239:43: style: Parameter 'in_ptr' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/snd_codec.c:239:73: style: Parameter 'out_ptr' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/snd_codec.c:239:87: style: Parameter 'out_size' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/snd_codec.c:267:43: style: Parameter 'in_ptr' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/snd_codec.c:267:73: style: Parameter 'out_ptr' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/snd_codec.c:267:87: style: Parameter 'out_size' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2177:27: style: Same value in both branches of ternary operator. [duplicateValueTernary] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:825:47: style:inconclusive: Function 'recorder_format_entry' argument 4 names different: declaration 'location' definition 'function_name'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:242:47: note: Function 'recorder_format_entry' argument 4 names different: declaration 'location' definition 'function_name'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:825:47: note: Function 'recorder_format_entry' argument 4 names different: declaration 'location' definition 'function_name'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:962:53: style:inconclusive: Function 'recorder_sort' argument 4 names different: declaration 'show_arg' definition 'output'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.h:121:60: note: Function 'recorder_sort' argument 4 names different: declaration 'show_arg' definition 'output'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:962:53: note: Function 'recorder_sort' argument 4 names different: declaration 'show_arg' definition 'output'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1398:74: style:inconclusive: Function 'recorder_chan_write' argument 3 names different: declaration 'cnt' definition 'count'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:224:77: note: Function 'recorder_chan_write' argument 3 names different: declaration 'cnt' definition 'count'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1398:74: note: Function 'recorder_chan_write' argument 3 names different: declaration 'cnt' definition 'count'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1688:64: style:inconclusive: Function 'recorder_chan_readable' argument 2 names different: declaration 'readerID' definition 'reader'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.h:886:59: note: Function 'recorder_chan_readable' argument 2 names different: declaration 'readerID' definition 'reader'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1688:64: note: Function 'recorder_chan_readable' argument 2 names different: declaration 'readerID' definition 'reader'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1702:38: style:inconclusive: Function 'recorder_chan_read' argument 4 names different: declaration 'readerID' definition 'reader'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.h:889:55: note: Function 'recorder_chan_read' argument 4 names different: declaration 'readerID' definition 'reader'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1702:38: note: Function 'recorder_chan_read' argument 4 names different: declaration 'readerID' definition 'reader'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1947:34: style:inconclusive: Function 'recorder_dump_on_signal' argument 1 names different: declaration 'signal' definition 'sig'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.h:87:41: note: Function 'recorder_dump_on_signal' argument 1 names different: declaration 'signal' definition 'sig'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1947:34: note: Function 'recorder_dump_on_signal' argument 1 names different: declaration 'signal' definition 'sig'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2259:36: style:inconclusive: Function 'recorder_trace_set' argument 1 names different: declaration 'set' definition 'param_spec'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.h:275:43: note: Function 'recorder_trace_set' argument 1 names different: declaration 'set' definition 'param_spec'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2259:36: note: Function 'recorder_trace_set' argument 1 names different: declaration 'set' definition 'param_spec'. spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1119:23: style: Local variable 'chans' shadows outer variable [shadowVariable] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2070:25: note: Shadowed declaration spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1119:23: note: Shadow variable spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1364:23: style: Local variable 'chans' shadows outer variable [shadowVariable] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2070:25: note: Shadowed declaration spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1364:23: note: Shadow variable spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:589:23: style: Variable 'fmt_end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1556:22: style: Variable 'shans' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1613:21: style: Variable 'shan' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1623:21: style: Variable 'shan' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1633:21: style: Variable 'shan' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1643:21: style: Variable 'shan' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1653:21: style: Variable 'shan' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1663:21: style: Variable 'shan' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2152:51: style: Parameter 'ignored' can be declared as pointer to const. However it seems that 'background_configuration_check' is a callback function, if 'ignored' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2194:36: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:2152:51: note: Parameter 'ignored' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/ssl_verify.c:165:5: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/common/recorder/recorder.c:1094:21: style: struct member 'recorder_chans::map_size' is never used. [unusedStructMember] spice-0.15.1/subprojects/spice-common/tests/generated_test_marshallers.c:58:78: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/tests/test-logging.c:39:1: error: There is an unknown macro here somewhere. Configuration is required. If G_GNUC_PRINTF is a macro then please configure it. [unknownMacro] spice-0.15.1/subprojects/spice-common/tests/test-marshallers.c:121:30: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/tests/test-quic.c:105:55: style: Parameter 'usr' can be declared as pointer to const. However it seems that 'quic_usr_more_space_decode' is a callback function, if 'usr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/test-quic.c:127:71: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/test-quic.c:105:55: note: Parameter 'usr' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/test-quic.c:114:48: style: Parameter 'usr' can be declared as pointer to const. However it seems that 'quic_usr_more_lines' is a callback function, if 'usr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/test-quic.c:128:33: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/test-quic.c:114:48: note: Parameter 'usr' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/test-quic.c:363:21: style: Variable 'p_a' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/tests/test-quic.c:364:21: style: Variable 'p_b' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/tests/test-region.c:105:40: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/tests/test-ssl-verify.c:62:25: error: syntax error [syntaxError] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:171:136: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_array_uint64' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:250:29: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:171:136: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:282:79: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_ArrayMessage' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:701:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:282:79: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:339:73: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_Zeroes' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:702:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:339:73: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:346:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:383:80: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_channels_list' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:703:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:383:80: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:446:77: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_LenMessage' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:704:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:446:77: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:509:146: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_array_uint8_terminated' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:648:29: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/generated_test_demarshallers.c:509:146: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/tools/reds_stat.c:152:13: error: Common realloc mistake: 'values' nulled but not freed upon failure [memleakOnRealloc] spice-0.15.1/tools/reds_stat.c:44:20: style: Variable 'node' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:543:17: style: Checking if unsigned expression '(unsigned long)(message_end-start)' is less than zero. [unsignedLessThanZero] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:539:15: note: Assignment 'nw_size=0', assigned value is 0 spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:543:17: note: Unsigned less than zero spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:171:69: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_migrate' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7739:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:171:69: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:178:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:213:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'nofree' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:245:21: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:213:47: note: Parameter 'data' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:217:70: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_SpiceMsgData' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7750:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:217:70: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:253:69: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_set_ack' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7741:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:253:69: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:260:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:296:66: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_ping' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7742:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:296:66: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:303:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:354:79: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_wait_for_channels' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7743:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:354:79: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:422:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_disconnecting' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7744:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:422:75: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:429:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:465:68: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_notify' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7745:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:465:68: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:530:71: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_SpiceMsgEmpty' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7749:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:530:71: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:537:14: style: Variable 'in' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:537:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:568:146: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_array_uint8_terminated' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7628:29: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:568:146: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:740:71: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_init' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1477:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:740:71: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:747:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:789:80: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_channels_list' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1478:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:789:80: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:856:77: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_mouse_mode' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1479:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:856:77: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:863:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:899:83: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_multi_media_time' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1480:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:899:83: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:906:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:941:85: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_agent_disconnected' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1482:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:941:85: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:948:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:983:78: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_agent_token' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1484:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:983:78: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:990:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1161:71: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_name' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1487:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1161:71: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1222:71: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_uuid' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1488:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1222:71: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1229:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1267:89: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_main_agent_connected_tokens' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1489:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1267:89: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1274:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1504:74: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_mode' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6414:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1504:74: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1511:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1548:145: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpiceClipRects' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6191:41: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1548:145: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1710:80: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_inval_list' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6418:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1710:80: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1777:87: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_inval_all_pixmaps' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6419:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1777:87: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1845:83: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_inval_palette' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6420:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1845:83: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1852:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2017:81: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_stream_data' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6425:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2017:81: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2198:84: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_stream_destroy' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6427:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2198:84: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2205:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2240:72: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2552:143: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpicePalette' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2690:37: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2552:143: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2574:141: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpiceImage' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6206:37: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2574:141: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4428:69: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4497:140: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpicePath' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4797:33: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4497:140: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4541:135: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_array_int32' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4808:41: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4541:135: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4861:71: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5038:142: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpiceString' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5377:33: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5038:142: note: Parameter 'this_ptr_info' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5779:84: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_surface_create' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6443:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5779:84: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5786:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5825:85: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_surface_destroy' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6444:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5825:85: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5832:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5867:87: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_stream_data_sized' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6445:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5867:87: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5940:85: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_monitors_config' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6446:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5940:85: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6263:92: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_stream_activate_report' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6448:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6263:92: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6270:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6308:85: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_gl_scanout_unix' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6449:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6308:85: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6315:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6355:77: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_display_gl_draw' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6450:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6355:77: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6362:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6467:73: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_inputs_init' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6565:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6467:73: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6474:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6509:82: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6516:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6583:73: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_cursor_init' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6923:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6583:73: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6590:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6682:72: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_cursor_set' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6925:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6682:72: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6689:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6779:73: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_cursor_move' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6926:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6779:73: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6786:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6824:74: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_cursor_trail' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6928:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6824:74: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6831:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6867:78: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_cursor_inval_one' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6929:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6867:78: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6874:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6942:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_playback_data' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7263:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6942:75: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6949:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6999:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_playback_mode' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7264:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6999:75: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7006:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7057:76: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_playback_start' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7265:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7057:76: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7064:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7102:77: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_SpiceMsgAudioVolume' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7341:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7102:77: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7165:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_SpiceMsgAudioMute' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7268:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7165:75: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7172:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7207:78: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7214:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7281:74: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_msg_record_start' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7339:9: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7281:74: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7288:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:51: style: Parameter 'message_start' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msg' is a callback function, if 'message_start' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7777:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:51: note: Parameter 'message_start' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msg' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7777:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:75: note: Parameter 'message_end' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:148: style: Parameter 'size_out' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msg' is a callback function, if 'size_out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7777:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:148: note: Parameter 'size_out' can be declared as pointer to const spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7453:80: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7460:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7661:72: style: Parameter 'message_end' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7668:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2743:24: error: Uninitialized variable: ptr_info[i].offset [legacyUninitvar] spice-0.15.1/subprojects/spice-common/common/lines.c:2429:42: warning: Possible null pointer dereference: rightFace [nullPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:3335:47: note: Calling function 'miLineArc', 5th argument '(_LineFace*)NULL' value is 0 spice-0.15.1/subprojects/spice-common/common/lines.c:2429:42: note: Null pointer dereference spice-0.15.1/subprojects/spice-common/common/lines.c:2430:42: warning: Possible null pointer dereference: rightFace [nullPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:3335:47: note: Calling function 'miLineArc', 5th argument '(_LineFace*)NULL' value is 0 spice-0.15.1/subprojects/spice-common/common/lines.c:2430:42: note: Null pointer dereference spice-0.15.1/subprojects/spice-common/common/lines.c:2286:29: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] spice-0.15.1/subprojects/spice-common/common/lines.c:1456:19: style:inconclusive: Function 'spice_canvas_zero_line' argument 1 names different: declaration 'pgc' definition 'pGC'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:110:44: note: Function 'spice_canvas_zero_line' argument 1 names different: declaration 'pgc' definition 'pGC'. spice-0.15.1/subprojects/spice-common/common/lines.c:1456:19: note: Function 'spice_canvas_zero_line' argument 1 names different: declaration 'pgc' definition 'pGC'. spice-0.15.1/subprojects/spice-common/common/lines.c:1457:17: style:inconclusive: Function 'spice_canvas_zero_line' argument 3 names different: declaration 'num_points' definition 'npt'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:112:40: note: Function 'spice_canvas_zero_line' argument 3 names different: declaration 'num_points' definition 'npt'. spice-0.15.1/subprojects/spice-common/common/lines.c:1457:17: note: Function 'spice_canvas_zero_line' argument 3 names different: declaration 'num_points' definition 'npt'. spice-0.15.1/subprojects/spice-common/common/lines.c:1458:25: style:inconclusive: Function 'spice_canvas_zero_line' argument 4 names different: declaration 'points' definition 'pptInit'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:113:49: note: Function 'spice_canvas_zero_line' argument 4 names different: declaration 'points' definition 'pptInit'. spice-0.15.1/subprojects/spice-common/common/lines.c:1458:25: note: Function 'spice_canvas_zero_line' argument 4 names different: declaration 'points' definition 'pptInit'. spice-0.15.1/subprojects/spice-common/common/lines.c:1684:42: style:inconclusive: Function 'spice_canvas_zero_dash_line' argument 3 names different: declaration 'n_points' definition 'nptInit'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:116:45: note: Function 'spice_canvas_zero_dash_line' argument 3 names different: declaration 'n_points' definition 'nptInit'. spice-0.15.1/subprojects/spice-common/common/lines.c:1684:42: note: Function 'spice_canvas_zero_dash_line' argument 3 names different: declaration 'n_points' definition 'nptInit'. spice-0.15.1/subprojects/spice-common/common/lines.c:1685:31: style:inconclusive: Function 'spice_canvas_zero_dash_line' argument 4 names different: declaration 'points' definition 'pptInit'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:117:54: note: Function 'spice_canvas_zero_dash_line' argument 4 names different: declaration 'points' definition 'pptInit'. spice-0.15.1/subprojects/spice-common/common/lines.c:1685:31: note: Function 'spice_canvas_zero_dash_line' argument 4 names different: declaration 'points' definition 'pptInit'. spice-0.15.1/subprojects/spice-common/common/lines.c:2857:38: style:inconclusive: Function 'spice_canvas_wide_line' argument 3 names different: declaration 'num_points' definition 'npt'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:124:40: note: Function 'spice_canvas_wide_line' argument 3 names different: declaration 'num_points' definition 'npt'. spice-0.15.1/subprojects/spice-common/common/lines.c:2857:38: note: Function 'spice_canvas_wide_line' argument 3 names different: declaration 'num_points' definition 'npt'. spice-0.15.1/subprojects/spice-common/common/lines.c:2857:55: style:inconclusive: Function 'spice_canvas_wide_line' argument 4 names different: declaration 'points' definition 'pPts'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:125:49: note: Function 'spice_canvas_wide_line' argument 4 names different: declaration 'points' definition 'pPts'. spice-0.15.1/subprojects/spice-common/common/lines.c:2857:55: note: Function 'spice_canvas_wide_line' argument 4 names different: declaration 'points' definition 'pPts'. spice-0.15.1/subprojects/spice-common/common/lines.c:3260:38: style:inconclusive: Function 'spice_canvas_wide_dash_line' argument 3 names different: declaration 'num_points' definition 'npt'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:120:45: note: Function 'spice_canvas_wide_dash_line' argument 3 names different: declaration 'num_points' definition 'npt'. spice-0.15.1/subprojects/spice-common/common/lines.c:3260:38: note: Function 'spice_canvas_wide_dash_line' argument 3 names different: declaration 'num_points' definition 'npt'. spice-0.15.1/subprojects/spice-common/common/lines.c:3260:55: style:inconclusive: Function 'spice_canvas_wide_dash_line' argument 4 names different: declaration 'points' definition 'pPts'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:121:54: note: Function 'spice_canvas_wide_dash_line' argument 4 names different: declaration 'points' definition 'pPts'. spice-0.15.1/subprojects/spice-common/common/lines.c:3260:55: note: Function 'spice_canvas_wide_dash_line' argument 4 names different: declaration 'points' definition 'pPts'. spice-0.15.1/subprojects/spice-common/common/lines.c:3507:48: style:inconclusive: Function 'spice_canvas_clip_spans' argument 1 names different: declaration 'clip_region' definition 'prgnDst'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:126:55: note: Function 'spice_canvas_clip_spans' argument 1 names different: declaration 'clip_region' definition 'prgnDst'. spice-0.15.1/subprojects/spice-common/common/lines.c:3507:48: note: Function 'spice_canvas_clip_spans' argument 1 names different: declaration 'clip_region' definition 'prgnDst'. spice-0.15.1/subprojects/spice-common/common/lines.c:3508:41: style:inconclusive: Function 'spice_canvas_clip_spans' argument 2 names different: declaration 'points' definition 'ppt'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:127:48: note: Function 'spice_canvas_clip_spans' argument 2 names different: declaration 'points' definition 'ppt'. spice-0.15.1/subprojects/spice-common/common/lines.c:3508:41: note: Function 'spice_canvas_clip_spans' argument 2 names different: declaration 'points' definition 'ppt'. spice-0.15.1/subprojects/spice-common/common/lines.c:3509:42: style:inconclusive: Function 'spice_canvas_clip_spans' argument 3 names different: declaration 'widths' definition 'pwidth'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:128:41: note: Function 'spice_canvas_clip_spans' argument 3 names different: declaration 'widths' definition 'pwidth'. spice-0.15.1/subprojects/spice-common/common/lines.c:3509:42: note: Function 'spice_canvas_clip_spans' argument 3 names different: declaration 'widths' definition 'pwidth'. spice-0.15.1/subprojects/spice-common/common/lines.c:3510:49: style:inconclusive: Function 'spice_canvas_clip_spans' argument 4 names different: declaration 'num_spans' definition 'nspans'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:129:40: note: Function 'spice_canvas_clip_spans' argument 4 names different: declaration 'num_spans' definition 'nspans'. spice-0.15.1/subprojects/spice-common/common/lines.c:3510:49: note: Function 'spice_canvas_clip_spans' argument 4 names different: declaration 'num_spans' definition 'nspans'. spice-0.15.1/subprojects/spice-common/common/lines.c:3511:49: style:inconclusive: Function 'spice_canvas_clip_spans' argument 5 names different: declaration 'new_points' definition 'pptNew'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:130:48: note: Function 'spice_canvas_clip_spans' argument 5 names different: declaration 'new_points' definition 'pptNew'. spice-0.15.1/subprojects/spice-common/common/lines.c:3511:49: note: Function 'spice_canvas_clip_spans' argument 5 names different: declaration 'new_points' definition 'pptNew'. spice-0.15.1/subprojects/spice-common/common/lines.c:3512:50: style:inconclusive: Function 'spice_canvas_clip_spans' argument 6 names different: declaration 'new_widths' definition 'pwidthNew'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:131:41: note: Function 'spice_canvas_clip_spans' argument 6 names different: declaration 'new_widths' definition 'pwidthNew'. spice-0.15.1/subprojects/spice-common/common/lines.c:3512:50: note: Function 'spice_canvas_clip_spans' argument 6 names different: declaration 'new_widths' definition 'pwidthNew'. spice-0.15.1/subprojects/spice-common/common/lines.c:3513:49: style:inconclusive: Function 'spice_canvas_clip_spans' argument 7 names different: declaration 'sorted' definition 'fSorted'. [funcArgNamesDifferent] spice-0.15.1/subprojects/spice-common/common/lines.h:132:40: note: Function 'spice_canvas_clip_spans' argument 7 names different: declaration 'sorted' definition 'fSorted'. spice-0.15.1/subprojects/spice-common/common/lines.c:3513:49: note: Function 'spice_canvas_clip_spans' argument 7 names different: declaration 'sorted' definition 'fSorted'. spice-0.15.1/subprojects/spice-common/common/lines.c:392:28: style: Parameter 'pDash' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:678:10: style: Variable 'startNewWidths' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/lines.c:1866:31: style: Parameter 'slopes' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:2312:30: style: Parameter 'face' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:2372:29: style: Parameter 'face' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:2498:34: style: Parameter 'face' can be declared as pointer to const [constParameterPointer] spice-0.15.1/subprojects/spice-common/common/lines.c:2975:20: style: Variable 'pDash' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/lines.c:3516:18: style: Variable 'pwidthNewStart' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/lines.c:3559:46: style: Variable 'pboxLast' can be declared as pointer to const [constVariablePointer] spice-0.15.1/subprojects/spice-common/common/lines.c:1499:29: error: Signed integer overflow for expression 'ybottom-ytop+1'. [integerOverflow] spice-0.15.1/subprojects/spice-common/common/lines.c:1492:19: note: Assignment 'ybottom=2147483647', assigned value is 2147483647 spice-0.15.1/subprojects/spice-common/common/lines.c:1499:29: note: Integer overflow spice-0.15.1/subprojects/spice-common/common/lines.c:1781:31: error: Uninitialized struct member: spanRec.points [uninitStructMember] spice-0.15.1/subprojects/spice-common/common/lines.c:1719:16: style: Variable 'height' is assigned a value that is never used. [unreadVariable] diff: head spice-0.15.1/server/char-device.h:112:6: style: The destructor '~RedCharDevice' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:375:14: note: Virtual destructor in base class spice-0.15.1/server/char-device.h:112:6: note: Destructor in derived class head spice-0.15.1/server/dispatcher.h:158:14: style: The destructor '~Dispatcher' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:268:14: note: Virtual destructor in base class spice-0.15.1/server/dispatcher.h:158:14: note: Destructor in derived class head spice-0.15.1/server/inputs-channel.h:65:6: style: The destructor '~InputsChannel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/red-channel.h:68:14: note: Virtual destructor in base class spice-0.15.1/server/inputs-channel.h:65:6: note: Destructor in derived class head spice-0.15.1/server/red-channel-client.cpp:1272:55: error: Uninitialized variable: serial [uninitvar] head spice-0.15.1/server/red-channel-client.cpp:791:63: style: Parameter 'header' can be declared as pointer to const. However it seems that 'mini_header_set_msg_serial' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/red-channel-client.cpp:224:59: note: You might need to cast the function pointer here spice-0.15.1/server/red-channel-client.cpp:791:63: note: Parameter 'header' can be declared as pointer to const head spice-0.15.1/server/red-channel-client.cpp:801:65: style: Parameter 'header' can be declared as pointer to const. However it seems that 'mini_header_set_msg_sub_list' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/red-channel-client.cpp:225:59: note: You might need to cast the function pointer here spice-0.15.1/server/red-channel-client.cpp:801:65: note: Parameter 'header' can be declared as pointer to const head spice-0.15.1/server/red-channel-client.h:39:14: style: The destructor '~RedChannelClient' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:268:14: note: Virtual destructor in base class spice-0.15.1/server/red-channel-client.h:39:14: note: Destructor in derived class head spice-0.15.1/server/red-channel.h:68:14: style: The destructor '~RedChannel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/utils.hpp:268:14: note: Virtual destructor in base class spice-0.15.1/server/red-channel.h:68:14: note: Destructor in derived class head spice-0.15.1/server/smartcard-channel-client.h:31:6: style: The destructor '~SmartCardChannelClient' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/red-channel-client.h:39:14: note: Virtual destructor in base class spice-0.15.1/server/smartcard-channel-client.h:31:6: note: Destructor in derived class head spice-0.15.1/server/smartcard.h:35:6: style: The destructor '~RedCharDeviceSmartcard' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] spice-0.15.1/server/char-device.h:112:6: note: Virtual destructor in base class spice-0.15.1/server/smartcard.h:35:6: note: Destructor in derived class head spice-0.15.1/server/stat.h:126:74: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:134:58: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:145:57: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:163:65: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:185:56: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:54:29: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:54:48: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:60:31: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:60:50: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:65:35: style: Parameter 'counter' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:65:57: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:71:34: style: Parameter 'reds' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/stat.h:71:56: style: Parameter 'counter' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/server/tests/test-empty-success.c:32:35: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'timer_add' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:93:22: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:32:35: note: Parameter 'opaque' can be declared as pointer to const head spice-0.15.1/server/tests/test-empty-success.c:61:35: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'watch_add' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:97:22: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:61:35: note: Parameter 'opaque' can be declared as pointer to const head spice-0.15.1/server/tests/test-empty-success.c:82:56: style: Parameter 'info' can be declared as pointer to const. However it seems that 'channel_event' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-empty-success.c:100:26: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-empty-success.c:82:56: note: Parameter 'info' can be declared as pointer to const head spice-0.15.1/server/tests/test-gst.cpp:722:29: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'mock_get_roundtrip_ms' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-gst.cpp:743:25: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-gst.cpp:722:29: note: Parameter 'opaque' can be declared as pointer to const head spice-0.15.1/server/tests/test-gst.cpp:729:27: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'mock_get_source_fps' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-gst.cpp:744:23: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-gst.cpp:729:27: note: Parameter 'opaque' can be declared as pointer to const head spice-0.15.1/server/tests/test-gst.cpp:736:41: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'mock_update_client_playback_delay' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-gst.cpp:745:37: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-gst.cpp:736:41: note: Parameter 'opaque' can be declared as pointer to const head spice-0.15.1/server/tests/test-loop.c:40:29: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'timer_err' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/server/tests/test-loop.c:123:43: note: You might need to cast the function pointer here spice-0.15.1/server/tests/test-loop.c:40:29: note: Parameter 'opaque' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1548:145: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpiceClipRects' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6191:41: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:1548:145: note: Parameter 'this_ptr_info' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:213:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'nofree' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:245:21: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:213:47: note: Parameter 'data' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2552:143: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpicePalette' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2690:37: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2552:143: note: Parameter 'this_ptr_info' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2574:141: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpiceImage' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:6206:37: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:2574:141: note: Parameter 'this_ptr_info' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4497:140: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpicePath' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4797:33: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:4497:140: note: Parameter 'this_ptr_info' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5038:142: style: Parameter 'this_ptr_info' can be declared as pointer to const. However it seems that 'parse_struct_SpiceString' is a callback function, if 'this_ptr_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5377:33: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:5038:142: note: Parameter 'this_ptr_info' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:148: style: Parameter 'size_out' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msg' is a callback function, if 'size_out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7777:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:148: note: Parameter 'size_out' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:51: style: Parameter 'message_start' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msg' is a callback function, if 'message_start' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7777:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:51: note: Parameter 'message_start' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:75: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msg' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7777:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_demarshallers.c:7354:75: note: Parameter 'message_end' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:155:89: style: Parameter 'm' can be declared as pointer to const. However it seems that 'spice_marshall_msgc_display_gl_draw_done' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:322:45: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:155:89: note: Parameter 'm' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:43:77: style: Parameter 'm' can be declared as pointer to const. However it seems that 'spice_marshall_SpiceMsgEmpty' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:319:37: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:43:77: note: Parameter 'm' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:58:76: style: Parameter 'm' can be declared as pointer to const. However it seems that 'spice_marshall_SpiceMsgData' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:318:36: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_client_marshallers.c:58:76: note: Parameter 'm' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:149: style: Parameter 'size_out' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msgc' is a callback function, if 'size_out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1746:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:149: note: Parameter 'size_out' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:52: style: Parameter 'message_start' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msgc' is a callback function, if 'message_start' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1746:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:52: note: Parameter 'message_start' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:76: style: Parameter 'message_end' can be declared as pointer to const. However it seems that 'parse_TunnelChannel_msgc' is a callback function, if 'message_end' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1746:11: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:1438:76: note: Parameter 'message_end' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:294:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'nofree' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:326:21: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/common/generated_server_demarshallers.c:294:47: note: Parameter 'data' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/common/generated_server_marshallers.c:114:70: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/generated_server_marshallers.c:43:69: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/snd_codec.c:239:43: style: Parameter 'in_ptr' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/snd_codec.c:239:73: style: Parameter 'out_ptr' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/snd_codec.c:239:87: style: Parameter 'out_size' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/snd_codec.c:267:43: style: Parameter 'in_ptr' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/snd_codec.c:267:73: style: Parameter 'out_ptr' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/common/snd_codec.c:267:87: style: Parameter 'out_size' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/tests/generated_test_marshallers.c:58:78: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] head spice-0.15.1/subprojects/spice-common/tests/test-quic.c:105:55: style: Parameter 'usr' can be declared as pointer to const. However it seems that 'quic_usr_more_space_decode' is a callback function, if 'usr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/test-quic.c:127:71: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/test-quic.c:105:55: note: Parameter 'usr' can be declared as pointer to const head spice-0.15.1/subprojects/spice-common/tests/test-quic.c:114:48: style: Parameter 'usr' can be declared as pointer to const. However it seems that 'quic_usr_more_lines' is a callback function, if 'usr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spice-0.15.1/subprojects/spice-common/tests/test-quic.c:128:33: note: You might need to cast the function pointer here spice-0.15.1/subprojects/spice-common/tests/test-quic.c:114:48: note: Parameter 'usr' can be declared as pointer to const DONE