c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2947: expecting '>' to terminate template-argument-list, found '<'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2061: syntax error: identifier 'T'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(97): error C2631: 'RQline': a class or enum cannot be defined in an alias template
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2143: syntax error: missing ';' before '{'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\deque(32): error C2631: '_Deque_unchecked_const_iterator': a class or enum cannot be defined in an alias template
C:/Users/elen/Desktop/my_projects/qt_painter/src/commands/command_manager.cpp: error C2988: unrecognizable template declaration/definition
C:/Users/elen/Desktop/my_projects/qt_painter/src/commands/command_manager.cpp: error C2059: syntax error: 'namespace'
C:/Users/elen/Desktop/my_projects/qt_painter/src/commands/command_manager.cpp: fatal error C1903: unable to recover from previous error(s); stopping compilation
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27031.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /I"C:/Users/elen/CMakeBuilds/aa3f6f1b-85fd-c639-b9ed-245bea48eb48/build/x64-Debug (default)/src/core/core_autogen/include" /I"C:/Programs/Qt/5.11.1/include" /I"C:/Programs/Qt/5.11.1/include/QtCore" /I"C:/Programs/Qt/5.11.1/include/QtGui" /I"C:/Programs/Qt/5.11.1/include/QtWidgets" /D CODE_ANALYSIS /analyze /analyze:only /analyze:plugin"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\EspXEngine.dll" /analyze:plugin"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\localespc.dll" /c /analyze:ruleset"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/runtime_environment.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/service.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/shape_creator.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/shapes.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/working_set.cpp"
runtime_environment.cpp
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2947: expecting '>' to terminate template-argument-list, found '<'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2061: syntax error: identifier 'T'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(97): error C2631: 'RQline': a class or enum cannot be defined in an alias template
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2143: syntax error: missing ';' before '{'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\deque(32): error C2631: '_Deque_unchecked_const_iterator': a class or enum cannot be defined in an alias template
C:/Users/elen/Desktop/my_projects/qt_painter/src/gui/canvas.cpp: error C2988: unrecognizable template declaration/definition
C:/Users/elen/Desktop/my_projects/qt_painter/src/gui/canvas.cpp: error C2059: syntax error: 'namespace'
C:/Users/elen/Desktop/my_projects/qt_painter/src/gui/canvas.cpp: fatal error C1903: unable to recover from previous error(s); stopping compilation
controller.cpp
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28241: The annotation 'SAL_name' for 'new' on 'return' is not recognized.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28285: For function 'new' 'return' syntax error in '("Ret_notnull","","2")' near '("Ret_notnull",""'.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28241: The annotation 'SAL_name' for 'new' on 'return' is not recognized.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28285: For function 'new' 'return' syntax error in '("Post_writable_byte_size","","2")' near '("Post_writable_byte_size",""'.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28241: The annotation 'SAL_writableTo' for 'new' on 'return' is not recognized.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28285: For function 'new' 'return' syntax error in '(byteCount(__formal(0,_Size)))' near '(byteCount(__formal(0'.
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\programs\qt\5.11.1\include\qtwidgets\qstyleoption.h(670) : warning C26495: Variable 'QStyleOptionGraphicsItem::levelOfDetail' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_line_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_pen_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_polygon_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_rect_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_ellipse_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(58) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(60) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(75) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(92) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(87) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(114) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(125) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(152) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(160) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(209) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(201) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(75) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(74) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(76) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(73) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(77) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(78) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(79) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(80) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_cap_style' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dot_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_solid_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_brush_layout' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_layout' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dash_dot_dot_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_width' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dash_dot_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_brush_style' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_join_style' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dash_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_color' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_brush_color' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(171) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(168) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(165) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(163) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(167) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(161) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(162) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(166) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(169) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(170) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(164) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\io\log_reader.cpp(4) : warning C26495: Variable 'LogReader::timer' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
Code analysis complete.