TsundereStation/src
LibretroAdmin cf8ae118a7 common/error: prune unused includes
error.cpp pulled <cstdlib>, <type_traits>, and (on Windows)
windows_headers.h, none of which it actually uses:

  - <cstdlib>:           no std::malloc / abort / exit / etc.
  - <type_traits>:       no is_*, conditional, enable_if, etc.
  - windows_headers.h:   no HRESULT / HANDLE / Win32 API at all.

What it does use is std::va_list and the va_start/va_end macros
(in SetFormattedMessage). Those were getting in via a transitive
include - drop the dead headers, add <cstdarg> explicitly so the
TU's stated dependencies match the symbols it actually touches.

No behaviour change. Build clean on Makefile.libretro
platform=unix.
2026-05-14 14:02:15 +02:00
..
common common/error: prune unused includes 2026-05-14 14:02:15 +02:00
core core: rename lambda parameters that shadow outer locals in two hot files 2026-05-14 13:45:35 +02:00
libretro common/log: drop the console-output sink, libretro frontend owns logging 2026-05-14 13:45:39 +02:00
CMakeLists.txt only #include <malloc.h> if it exists 2024-07-07 23:17:16 +00:00
config.h.cmake only #include <malloc.h> if it exists 2024-07-07 23:17:16 +00:00