Failure of config file parsing is a hard failure

compton will now quit if it fails to parse the config file.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-13 02:04:05 +00:00
parent 7a21cef9a4
commit 60aa36b7af
4 changed files with 58 additions and 10 deletions

View File

@@ -45,6 +45,8 @@
#else
# define attr_warn_unused_result
#endif
// An alias for conveninence
#define must_use attr_warn_unused_result
#if __has_attribute(nonnull)
# define attr_nonnull(...) __attribute__((nonnull(__VA_ARGS__)))