mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-24 00:02:45 +02:00
Next GCC-on-Linux breaks after the stddef fix (linux-build CI): - port/shim/stdarg.h routed to the decomp include/stdarg.h, which defines va_list from __builtin_va_list but NOT the __gnuc_va_list alias that glibc's <stdio.h> references — 'unknown type name __gnuc_va_list' across every TU that pulls <stdio.h>. Add a Linux/macOS branch that provides va_list / __gnuc_va_list / va_* straight from compiler builtins and does not drag <ultra64.h> into system-header parsing. Windows branch unchanged. - pc_protos.h declared snprintf's size argument as 'unsigned long long' — correct on MinGW (LLP64) but not glibc, where size_t is 'unsigned long': 'conflicting types for snprintf'. Spell it size_t (now visible via the stddef fix); identical to ull on MinGW. Windows: both changes are no-ops on MinGW (stdarg Windows branch byte-identical; size_t == unsigned long long).