aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/src/Logger.h
Commit message (Collapse)AuthorAgeFilesLines
* nxcompshad: fix logging segfaultUlrich Sibiller2019-09-291-4/+4
| | | | | | | | | 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.
* Logger.h: remove pragma, correct attributesUlrich Sibiller2019-03-011-9/+4
| | | | | | | | | | | | 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".
* Logger.h: fix missing compiler attributeUlrich Sibiller2019-03-011-1/+1
|
* Fix: clang does not know about gnu_printfUlrich Sibiller2019-03-011-4/+4
| | | | Found via Travis CI
* nxcompshad: silence GCC warningsUlrich Sibiller2017-12-281-0/+5
| | | | Fixes ArcticaProject/nx-libs#572
* nxcompshad: Rewrite Logger class methods to properly take advantage of the ↵Mike Gabriel2017-07-131-4/+4
| | | | 'gnu_printf' format attribute.
* nxcompshad: Switch to autoreconf.Mike Gabriel2017-07-131-0/+167