The optional message is a GNU extension only available with modern gcc.
Preferably serd would to fall back to __attribute__((deprecated)) with gcc-4
Setting top to : /Users/ardour/src/stack/serd-0.30.7
Setting out to : /Users/ardour/src/stack/serd-0.30.7/build
Checking for 'clang' (C compiler) : not found
Checking for 'gcc' (C compiler) : gcc
Checking for flag '-std=c11' : no
Checking for flag '-std=c99' : yes
Checking for aligned_alloc : no
Checking for fileno : yes
Checking for posix_fadvise : no
Checking for posix_memalign : yes
Install prefix : /Users/ardour/gtk/inst
C Flags : -DMAC_OS_X_VERSION_MAX_ALLOWED=1050 -mmacosx-version-min=10.5 -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fshow-column -std=c99
Debuggable : no
Build documentation : no
Build unit tests : no
Build shared library : yes
Build static library : no
Build utilities : yes
'configure' finished successfully (1.324s)
Build commands will be stored in build/compile_commands.json
Waf: Entering directory `/Users/ardour/src/stack/serd-0.30.7/build'
[ 1/15] Compiling src/reader.c
[ 2/15] Compiling src/byte_source.c
[ 3/15] Compiling src/node.c
[ 4/15] Compiling src/base64.c
In file included from ../src/byte_source.h:20,
from ../src/byte_source.c:17:
../include/serd/serd.h:367: error: wrong number of arguments specified for 'deprecated' attribute
In file included from ../src/byte_source.h:20,
from ../src/reader.h:20,
from ../src/reader.c:17:
../include/serd/serd.h:367: error: wrong number of arguments specified for 'deprecated' attribute
In file included from ../src/base64.h:20,
from ../src/base64.c:17:
../include/serd/serd.h:367: error: wrong number of arguments specified for 'deprecated' attribute
In file included from ../src/node.h:20,
from ../src/node.c:17:
../include/serd/serd.h:367: error: wrong number of arguments specified for 'deprecated' attribute
Waf: Leaving directory `/Users/ardour/src/stack/serd-0.30.7/build'
At least the irony of problems with deprecation warnings on a dead platform and EOL'ed OS with a compiler that hasn't been used on it for over a decade is amusing ;)
The optional message is a GNU extension only available with modern gcc. Preferably serd would to fall back to
__attribute__((deprecated))
with gcc-4