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:
parent
69f8b1243c
commit
961f79188f
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue