cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.6k stars 506 forks source link

Include cstdarg in precompiled.h #1210

Closed FireBurn closed 1 month ago

FireBurn commented 1 month ago

This fixes the following build error:

src/Common/unix/FileStream_unix.cpp: In member function ‘void FileStream::writeStringFmt(const char*, ...)’: src/Common/unix/FileStream_unix.cpp:184:9: error: ‘va_start’ was not declared in this scope 184 | va_start(args, format); | ^~~~

I'm guessing cstdarg is no longer automatically pulled into the includes with gcc 14.1

Exzap commented 1 month ago

1193 already includes a fix for this and will be merged soon. The effort is appreciated regardless, thanks!