Project

General

Profile

Actions

Emulator Issues #12313

closed

Warnings from external projects while building

Added by VIRTUALDOG about 4 years ago. Updated 9 months ago.

Status:
Fixed
Priority:
Low
Assignee:
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-21236

Description

What's the problem? Describe what went wrong.

Warnings from source files in 3rd-party projects are printed while building:

[bheim@mandible build]$ ninja
[16/816] Building CXX object Externals/imgui/CMakeFiles/imgui.dir/imgui_draw.cpp.o
In file included from ../Externals/imgui/imgui_draw.cpp:32:
../Externals/imgui/imgui_internal.h: In constructor ‘ImGuiInputTextState::ImGuiInputTextState()’:
../Externals/imgui/imgui_internal.h:606:84: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  606 |     ImGuiInputTextState()                           { memset(this, 0, sizeof(*this)); }
      |                                                                                    ^
../Externals/imgui/imgui_internal.h:586:18: note: ‘struct ImGuiInputTextState’ declared here
  586 | struct IMGUI_API ImGuiInputTextState
      |                  ^~~~~~~~~~~~~~~~~~~
[21/816] Building CXX object Externals/imgui/CMakeFiles/imgui.dir/imgui_widgets.cpp.o
In file included from ../Externals/imgui/imgui_widgets.cpp:38:
../Externals/imgui/imgui_internal.h: In constructor ‘ImGuiInputTextState::ImGuiInputTextState()’:
../Externals/imgui/imgui_internal.h:606:84: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  606 |     ImGuiInputTextState()                           { memset(this, 0, sizeof(*this)); }
      |                                                                                    ^
../Externals/imgui/imgui_internal.h:586:18: note: ‘struct ImGuiInputTextState’ declared here
  586 | struct IMGUI_API ImGuiInputTextState
      |                  ^~~~~~~~~~~~~~~~~~~

Since these warnings are not under control of the project, they become noise that may hide more important and meaningful warnings in actual project code.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[bheim@mandible build]$ git describe
5.0-12947-g182557bcb2

Is the issue present in the latest stable version?

Not sure

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

N/A

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

N/A

What are your PC specifications? (CPU, GPU, Operating System, more)

Arch Linux, gcc 10.2, cmake 3.18.4

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

I can post a full build log if it would be helpful.

Actions

Also available in: Atom PDF