In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:1023: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:1025: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawDataBuilder' [-Wnontrivial-memaccess] 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: note: explicitly cast the pointer to silence this warning 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextDeactivatedState' [-Wnontrivial-memaccess] 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: note: explicitly cast the pointer to silence this warning 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextState' [-Wnontrivial-memaccess] 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: note: explicitly cast the pointer to silence this warning 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiListClipperData' [-Wnontrivial-memaccess] 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: note: explicitly cast the pointer to silence this warning 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiOldColumns' [-Wnontrivial-memaccess] 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: note: explicitly cast the pointer to silence this warning 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiIDStackTool' [-Wnontrivial-memaccess] 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: note: explicitly cast the pointer to silence this warning 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTable' [-Wnontrivial-memaccess] 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: note: explicitly cast the pointer to silence this warning 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTableTempData' [-Wnontrivial-memaccess] 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: note: explicitly cast the pointer to silence this warning 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:1345:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiIO' [-Wnontrivial-memaccess] 1345 | memset(this, 0, sizeof(*this)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:1345:12: note: explicitly cast the pointer to silence this warning 1345 | memset(this, 0, sizeof(*this)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:2931:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiListClipper' [-Wnontrivial-memaccess] 2931 | memset(this, 0, sizeof(*this)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:2931:12: note: explicitly cast the pointer to silence this warning 2931 | memset(this, 0, sizeof(*this)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:3920:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiWindow' [-Wnontrivial-memaccess] 3920 | memset(this, 0, sizeof(*this)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:3920:12: note: explicitly cast the pointer to silence this warning 3920 | memset(this, 0, sizeof(*this)); | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:1023: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:189: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiListClipperData' [-Wnontrivial-memaccess] 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:2960:27: note: in instantiation of member function 'ImVector::resize' requested here 2960 | g.ClipperTempData.resize(g.ClipperTempDataStacked, ImGuiListClipperData()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:189: note: explicitly cast the pointer to silence this warning 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiListClipperData' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:88: note: in instantiation of member function 'ImVector::reserve' requested here 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.cpp:2960:27: note: in instantiation of member function 'ImVector::resize' requested here 2960 | g.ClipperTempData.resize(g.ClipperTempDataStacked, ImGuiListClipperData()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) 15 warnings generated. [ 13%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/imgui_demo.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_demo.cpp:106: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) 2 warnings generated. [ 20%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/imgui_draw.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:34: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:36: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawDataBuilder' [-Wnontrivial-memaccess] 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: note: explicitly cast the pointer to silence this warning 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextDeactivatedState' [-Wnontrivial-memaccess] 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: note: explicitly cast the pointer to silence this warning 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextState' [-Wnontrivial-memaccess] 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: note: explicitly cast the pointer to silence this warning 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiListClipperData' [-Wnontrivial-memaccess] 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: note: explicitly cast the pointer to silence this warning 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiOldColumns' [-Wnontrivial-memaccess] 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: note: explicitly cast the pointer to silence this warning 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiIDStackTool' [-Wnontrivial-memaccess] 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: note: explicitly cast the pointer to silence this warning 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTable' [-Wnontrivial-memaccess] 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: note: explicitly cast the pointer to silence this warning 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTableTempData' [-Wnontrivial-memaccess] 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: note: explicitly cast the pointer to silence this warning 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:372:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSharedData' [-Wnontrivial-memaccess] 372 | memset(this, 0, sizeof(*this)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:372:12: note: explicitly cast the pointer to silence this warning 372 | memset(this, 0, sizeof(*this)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2037:20: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2037 | memset(&_Channels[i], 0, sizeof(_Channels[i])); // Current channel is a copy of CmdBuffer/IdxBuffer, don't destruct again | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2037:20: note: explicitly cast the pointer to silence this warning 2037 | memset(&_Channels[i], 0, sizeof(_Channels[i])); // Current channel is a copy of CmdBuffer/IdxBuffer, don't destruct again | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2061:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2061 | memset(&_Channels[0], 0, sizeof(ImDrawChannel)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2061:12: note: explicitly cast the pointer to silence this warning 2061 | memset(&_Channels[0], 0, sizeof(ImDrawChannel)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2154:12: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImVector' [-Wnontrivial-memaccess] 2154 | memcpy(&_Channels.Data[_Current]._CmdBuffer, &draw_list->CmdBuffer, sizeof(draw_list->CmdBuffer)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2154:12: note: explicitly cast the pointer to silence this warning 2154 | memcpy(&_Channels.Data[_Current]._CmdBuffer, &draw_list->CmdBuffer, sizeof(draw_list->CmdBuffer)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2155:12: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImVector' (aka 'ImVector') [-Wnontrivial-memaccess] 2155 | memcpy(&_Channels.Data[_Current]._IdxBuffer, &draw_list->IdxBuffer, sizeof(draw_list->IdxBuffer)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2155:12: note: explicitly cast the pointer to silence this warning 2155 | memcpy(&_Channels.Data[_Current]._IdxBuffer, &draw_list->IdxBuffer, sizeof(draw_list->IdxBuffer)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2157:12: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImVector' [-Wnontrivial-memaccess] 2157 | memcpy(&draw_list->CmdBuffer, &_Channels.Data[idx]._CmdBuffer, sizeof(draw_list->CmdBuffer)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2157:12: note: explicitly cast the pointer to silence this warning 2157 | memcpy(&draw_list->CmdBuffer, &_Channels.Data[idx]._CmdBuffer, sizeof(draw_list->CmdBuffer)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2158:12: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImVector' (aka 'ImVector') [-Wnontrivial-memaccess] 2158 | memcpy(&draw_list->IdxBuffer, &_Channels.Data[idx]._IdxBuffer, sizeof(draw_list->IdxBuffer)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2158:12: note: explicitly cast the pointer to silence this warning 2158 | memcpy(&draw_list->IdxBuffer, &_Channels.Data[idx]._IdxBuffer, sizeof(draw_list->IdxBuffer)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2394:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImFontAtlas' [-Wnontrivial-memaccess] 2394 | memset(this, 0, sizeof(*this)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2394:12: note: explicitly cast the pointer to silence this warning 2394 | memset(this, 0, sizeof(*this)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2783:26: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImFontBuildSrcData' [-Wnontrivial-memaccess] 2783 | memset(src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2783:26: note: explicitly cast the pointer to silence this warning 2783 | memset(src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes()); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2784:26: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImFontBuildDstData' [-Wnontrivial-memaccess] 2784 | memset(dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2784:26: note: explicitly cast the pointer to silence this warning 2784 | memset(dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes()); | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:34: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2053:19: note: in instantiation of member function 'ImVector::reserve' requested here 2053 | _Channels.reserve(channels_count); // Avoid over reserving since this is likely to stay stable | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImFontBuildSrcData' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2092:88: note: in instantiation of member function 'ImVector::reserve' requested here 2092 | inline void resize(int new_size) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2781:19: note: in instantiation of member function 'ImVector::resize' requested here 2781 | src_tmp_array.resize(atlas->ConfigData.Size); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImFontBuildDstData' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2092:88: note: in instantiation of member function 'ImVector::reserve' requested here 2092 | inline void resize(int new_size) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_draw.cpp:2782:19: note: in instantiation of member function 'ImVector::resize' requested here 2782 | dst_tmp_array.resize(atlas->Fonts.Size); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) 23 warnings generated. [ 26%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/imgui_tables.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:198: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:200: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawDataBuilder' [-Wnontrivial-memaccess] 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: note: explicitly cast the pointer to silence this warning 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextDeactivatedState' [-Wnontrivial-memaccess] 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: note: explicitly cast the pointer to silence this warning 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextState' [-Wnontrivial-memaccess] 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: note: explicitly cast the pointer to silence this warning 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiListClipperData' [-Wnontrivial-memaccess] 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: note: explicitly cast the pointer to silence this warning 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiOldColumns' [-Wnontrivial-memaccess] 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: note: explicitly cast the pointer to silence this warning 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiIDStackTool' [-Wnontrivial-memaccess] 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: note: explicitly cast the pointer to silence this warning 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTable' [-Wnontrivial-memaccess] 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: note: explicitly cast the pointer to silence this warning 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTableTempData' [-Wnontrivial-memaccess] 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: note: explicitly cast the pointer to silence this warning 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2650:35: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2650 | memcpy(dst_tmp++, channel, sizeof(ImDrawChannel)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2650:35: note: explicitly cast the pointer to silence this warning 2650 | memcpy(dst_tmp++, channel, sizeof(ImDrawChannel)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2656:31: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2656 | memcpy(dst_tmp++, &splitter->_Channels[table->Bg2DrawChannelUnfrozen], sizeof(ImDrawChannel)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2656:31: note: explicitly cast the pointer to silence this warning 2656 | memcpy(dst_tmp++, &splitter->_Channels[table->Bg2DrawChannelUnfrozen], sizeof(ImDrawChannel)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2665:27: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2665 | memcpy(dst_tmp++, channel, sizeof(ImDrawChannel)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2665:27: note: explicitly cast the pointer to silence this warning 2665 | memcpy(dst_tmp++, channel, sizeof(ImDrawChannel)); | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2669:41: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2669 | memcpy(splitter->_Channels.Data + LEADING_DRAW_CHANNELS, g.DrawChannelsTempMergeBuffer.Data, (splitter->_Count - LEADING_DRAW_CHANNELS) * sizeof(ImDrawChannel)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2669:41: note: explicitly cast the pointer to silence this warning 2669 | memcpy(splitter->_Channels.Data + LEADING_DRAW_CHANNELS, g.DrawChannelsTempMergeBuffer.Data, (splitter->_Count - LEADING_DRAW_CHANNELS) * sizeof(ImDrawChannel)); | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:198: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiTable' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2092:88: note: in instantiation of member function 'ImVector::reserve' requested here 2092 | inline void resize(int new_size) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:695:101: note: in instantiation of member function 'ImVector::resize' requested here 695 | T* Add() { int idx = FreeIdx; if (idx == Buf.Size) { Buf.resize(Buf.Size + 1); FreeIdx++; } else { FreeIdx = *(int*)&Buf[idx]; } IM_PLACEMENT_NEW(&Buf[idx]) T(); AliveCount++; return &Buf[idx]; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:692:156: note: in instantiation of member function 'ImPool::Add' requested here 692 | T* GetOrAddByKey(ImGuiID key) { int* p_idx = Map.GetIntRef(key, -1); if (*p_idx != -1) return &Buf[*p_idx]; *p_idx = FreeIdx; return Add(); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:346:34: note: in instantiation of member function 'ImPool::GetOrAddByKey' requested here 346 | ImGuiTable* table = g.Tables.GetOrAddByKey(id); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:189: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiTableTempData' [-Wnontrivial-memaccess] 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:351:26: note: in instantiation of member function 'ImVector::resize' requested here 351 | g.TablesTempData.resize(g.TablesTempDataStacked, ImGuiTableTempData()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:189: note: explicitly cast the pointer to silence this warning 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiTableTempData' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:88: note: in instantiation of member function 'ImVector::reserve' requested here 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:351:26: note: in instantiation of member function 'ImVector::resize' requested here 351 | g.TablesTempData.resize(g.TablesTempDataStacked, ImGuiTableTempData()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImDrawChannel' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2092:88: note: in instantiation of member function 'ImVector::reserve' requested here 2092 | inline void resize(int new_size) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:2603:39: note: in instantiation of member function 'ImVector::resize' requested here 2603 | g.DrawChannelsTempMergeBuffer.resize(splitter->_Count - LEADING_DRAW_CHANNELS); // Use shared temporary storage so the allocation gets amortized | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2099:127: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiOldColumns' [-Wnontrivial-memaccess] 2099 | inline void push_back(const T& v) { if (Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:4201:28: note: in instantiation of member function 'ImVector::push_back' requested here 4201 | window->ColumnsStorage.push_back(ImGuiOldColumns()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2099:127: note: explicitly cast the pointer to silence this warning 2099 | inline void push_back(const T& v) { if (Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiOldColumns' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2099:85: note: in instantiation of member function 'ImVector::reserve' requested here 2099 | inline void push_back(const T& v) { if (Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_tables.cpp:4201:28: note: in instantiation of member function 'ImVector::push_back' requested here 4201 | window->ColumnsStorage.push_back(ImGuiOldColumns()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) 20 warnings generated. [ 33%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/imgui_widgets.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:43: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:45: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawDataBuilder' [-Wnontrivial-memaccess] 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:807:54: note: explicitly cast the pointer to silence this warning 807 | ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextDeactivatedState' [-Wnontrivial-memaccess] 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1108:50: note: explicitly cast the pointer to silence this warning 1108 | ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiInputTextState' [-Wnontrivial-memaccess] 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1134:54: note: explicitly cast the pointer to silence this warning 1134 | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiListClipperData' [-Wnontrivial-memaccess] 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1526:46: note: explicitly cast the pointer to silence this warning 1526 | ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiOldColumns' [-Wnontrivial-memaccess] 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1710:34: note: explicitly cast the pointer to silence this warning 1710 | ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiIDStackTool' [-Wnontrivial-memaccess] 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:1966:38: note: explicitly cast the pointer to silence this warning 1966 | ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTable' [-Wnontrivial-memaccess] 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3019:42: note: explicitly cast the pointer to silence this warning 3019 | ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTableTempData' [-Wnontrivial-memaccess] 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:3047:42: note: explicitly cast the pointer to silence this warning 3047 | ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:8999:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImGuiTabBar' [-Wnontrivial-memaccess] 8999 | memset(this, 0, sizeof(*this)); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:8999:12: note: explicitly cast the pointer to silence this warning 8999 | memset(this, 0, sizeof(*this)); | ^ | (void*) In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:43: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:189: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiMultiSelectTempData' [-Wnontrivial-memaccess] 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:7361:31: note: in instantiation of member function 'ImVector::resize' requested here 7361 | g.MultiSelectTempData.resize(g.MultiSelectTempDataStacked, ImGuiMultiSelectTempData()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:189: note: explicitly cast the pointer to silence this warning 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiMultiSelectTempData' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2093:88: note: in instantiation of member function 'ImVector::reserve' requested here 2093 | inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:7361:31: note: in instantiation of member function 'ImVector::resize' requested here 7361 | g.MultiSelectTempData.resize(g.MultiSelectTempDataStacked, ImGuiMultiSelectTempData()); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'ImGuiTabBar' [-Wnontrivial-memaccess] 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2092:88: note: in instantiation of member function 'ImVector::reserve' requested here 2092 | inline void resize(int new_size) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); Size = new_size; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:695:101: note: in instantiation of member function 'ImVector::resize' requested here 695 | T* Add() { int idx = FreeIdx; if (idx == Buf.Size) { Buf.resize(Buf.Size + 1); FreeIdx++; } else { FreeIdx = *(int*)&Buf[idx]; } IM_PLACEMENT_NEW(&Buf[idx]) T(); AliveCount++; return &Buf[idx]; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_internal.h:692:156: note: in instantiation of member function 'ImPool::Add' requested here 692 | T* GetOrAddByKey(ImGuiID key) { int* p_idx = Map.GetIntRef(key, -1); if (*p_idx != -1) return &Buf[*p_idx]; *p_idx = FreeIdx; return Add(); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui_widgets.cpp:9049:38: note: in instantiation of member function 'ImPool::GetOrAddByKey' requested here 9049 | ImGuiTabBar* tab_bar = g.TabBars.GetOrAddByKey(id); | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2095:182: note: explicitly cast the pointer to silence this warning 2095 | inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } | ^ | (void*) 14 warnings generated. [ 40%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/misc/cpp/imgui_stdlib.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/misc/cpp/imgui_stdlib.cpp:10: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) 2 warnings generated. [ 46%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/backends/imgui_impl_sdl2.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/backends/imgui_impl_sdl2.cpp:82: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) 2 warnings generated. [ 53%] Building CXX object CMakeFiles/imgui.dir/_deps/imgui_ext-src/backends/imgui_impl_sdlrenderer2.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/backends/imgui_impl_sdlrenderer2.cpp:31: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) 2 warnings generated. [ 60%] Linking CXX static library libimgui.a [ 60%] Built target imgui [ 66%] Building CXX object CMakeFiles/spaceinvaders.dir/src/i8080/i8080.cpp.o [ 73%] Building CXX object CMakeFiles/spaceinvaders.dir/src/utils.cpp.o [ 80%] Building CXX object CMakeFiles/spaceinvaders.dir/src/emu.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/src/emu.cpp:13: In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/src/gui.hpp:6: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) 2 warnings generated. [ 86%] Building CXX object CMakeFiles/spaceinvaders.dir/src/gui.cpp.o In file included from /home/runner/work/space_invaders_emulator/space_invaders_emulator/src/gui.cpp:2: /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawListSplitter' [-Wnontrivial-memaccess] 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:2973:43: note: explicitly cast the pointer to silence this warning 2973 | inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } | ^ | (void*) /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ImDrawList' [-Wnontrivial-memaccess] 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ /home/runner/work/space_invaders_emulator/space_invaders_emulator/build/_deps/imgui_ext-src/imgui.h:3044:60: note: explicitly cast the pointer to silence this warning 3044 | ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | ^ | (void*) 2 warnings generated.