| Commit message (Collapse) | Author | Files | Lines |
|
|
|
Allows yuzu to be built with Clang 15
|
|
|
|
|
|
Silences a truncation warning by making the truncation explicit and
documenting the reason for it.
|
|
Cleans up common so that we can enable warnings as errors.
|
|
|
|
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
|
|
As reported by tsan, g_bUseLock had a data race. Fix this using an
atomic boolean.
|
|
Two of the members of the MicroProfileThreadLog contains two std::atomic
instances. Given these aren't trivially-copyable types, we shouldn't be
memsetting the structure, given implementation details can contain other
members within it.
To avoid potential undefined behavior on platforms, we can use aggregate
initialization to zero out the members while still having well-defined
behavior.
While we're at it we can also silence some sign conversion warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I changed the macro in microprofileui.h from WIN32 to _WIN32 so that it
would correctly dectect that its being compiled on a windows platform
|
|
|
|
In file included from src/common/microprofile.cpp:7:
In file included from src/./common/microprofile.h:23:
externals/microprofile/microprofile.h:830:5: error: use of undeclared identifier 'MP_BREAK'
MP_ASSERT(t == nBegin);
^
externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT'
^
externals/microprofile/microprofile.h:831:5: error: use of undeclared identifier 'MP_BREAK'
MP_ASSERT(nTimerIndex == (nToken&0x3fff));
^
externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT'
^
[...]
|
|
|
|
Using the global-namespace C function will cause the wrong
overload to get picked
|
|
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
|