gcc11 -Wall -Wpedantic document for the next person

This commit is contained in:
Darryl L. Miles 2025-01-06 16:33:22 +00:00
parent 065f31f689
commit 3fc1c7e452
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ extern char AbortMessage[];
#define ANALYSER_CSTRING(n) __attribute__((null_terminated_string_arg(n)))
#define ANALYSER_FD_ARG(fd) __attribute__((fd_arg(fd)))
#define ANALYSER_MALLOC(dealloc, idx) __attribute__((malloc, malloc(dealloc, idx)))
/* looking to squash excessive -Wpedantic warnings ? add into defs.mak: CPPFLAGS += -Wno-variadic-macros */
#define ANALYSER_NONNULL(n...) __attribute__((nonnull(n)))
#define ANALYSER_RETURNS_NONNULL __attribute__((returns_nonnull))
#else