Appending new options at end of the array has unfortunate effect
of not allowing easy override of flags set in wscript.
This change makes add_cflag() and add_linkflag() prepend,
thus leaving the supplied during configure parameters
take precedence by being at the end of the parameter list.
Fix for [a386c3e] LDFLAGS is ignored
(cherry picked from commit 88b70fcdd7)
Appending new options at end of the array has unfortunate effect
of not allowing easy override of flags set in wscript.
This change makes add_cflag() and add_linkflag() prepend,
thus leaving the supplied during configure parameters
take precedence by being at the end of the parameter list.
Fix for [a386c3e] LDFLAGS is ignored
siginfo is now disabled by default so building on new CPU
architectures does not require adjusting of siginfo.c anymore.
When needed, --siginfo can be used as option to ./waf configure
to enable the functionality
../daemon/escape.c: In function ‘escape’:
../daemon/escape.c:49:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
49 | if ((flags & LADISH_ESCAPE_FLAG_OTHER) == 0)
| ^
../daemon/escape.c:53:5: note: here
53 | case '<': /* invalid attribute value char (XML spec) */
| ^~~~
gcc (Gentoo 9.3.0 p2) 9.3.0
* Take advantage of gcc printf format checks
* Move code dependent on log level to log.c
This is a basis for runtime logging tweaks.
* Remove the now useless LADISH_DEBUG defines
* rename cdbus header include guards to use CDBUS_ instead of LASH_DBUS_
* remove dbus/error.h and dbus/error.c
error.h contained lash/ladish specific error strings and
lash_dbus_error() prototype. lash_dbus_error() is renamed to
cdbus_error() and its implementation is moved to dbus/method.c. The
D-Bus error strings that have DBUS_ERROR_XXX matches are removed and
their uses are switched to the libdbus variants. The ladish specific
error strings are moved to dbus_constants.h