1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

compile-time printf-warnings

This commit is contained in:
Lukas Winkler 2023-04-24 14:50:10 +02:00
parent 69f8b1243c
commit 961f79188f
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -127,7 +127,7 @@ public:
return *this;
}
inline void Print(const char *str, ...) {
inline void Print(const char *str, ...) __attribute__ ((format (printf, 2, 3))) {
char out[1024];
va_list argptr;
va_start(argptr, str);