Nuklear icon indicating copy to clipboard operation
Nuklear copied to clipboard

GCC __printf__ format attribute only exists in version 3.2 and later

Open gpetersson opened this issue 3 years ago • 1 comments

The format attribute __printf__ is equivalent to printf but the latter works in gcc versions older than 3.2.

gpetersson avatar Sep 26 '21 00:09 gpetersson

Actually, versions under 3.2 won't work anyways, because they don't support math operations in the parameter list (syntax error, found "+"). Would you suggest just turning the attribute off entirely for < 3.2 ?

gpetersson avatar Sep 26 '21 01:09 gpetersson