| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Addresses ArcticaProject/nx-libs#985
|
|
|
|
|
|
|
|
|
| |
One cannot simply pass down a va_list to another function that expects
variable arguments ("..."). The prototype of the called functions must
expect a va_list argument instead.
This fixes segfaults that happen e.g. after compiling X11.cpp with
TEST and effectively reverts 59e829f3647005a6c93662adfbcea36e27a993d8.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using a pragma which will be valid for the whole file this
only affects the functions where it is actually required and supresses
"format string is not a string literal" warnings.
According to GCC documentation the second attribute parameter should
be 0:
"For functions where the arguments are not available to be checked
(such as vprintf), specify the third parameter as zero".
|
| |
|
|
|
|
| |
Found via Travis CI
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#572
|
|
|
|
| |
'gnu_printf' format attribute.
|
|
|