`_POSIX_C_SOURCE 200809L` (line 16) turns off _XOPEN_SOURCE and
_NETBSD_SOURCE, and NetBSD's math.h carries M_PI only for those: all
sixteen uses were an undeclared identifier. The guard defines the value
every libm has, as lib/McdeSys/test_audio.c already does.
OpExtrude passed a compound literal to memcpy. Its commas sit between
memcpy's own argument commas, so _FORTIFY_SOURCE counts five arguments
and refuses: "macro memcpy passed 5 arguments, but takes just 3". A
named array keeps the call a three-argument call.
Both are what a pkgsrc build of wm/mcde stops on, before any binary:
dtphoto.c:4019:31: error: 'M_PI' undeclared (first use in this function)
dtphoto.c:8416:53: error: macro "memcpy" passed 5 arguments, but takes just 3
Verified: the file compiles with the build's own flags,
`cc -fsyntax-only -std=gnu11 -D_POSIX_C_SOURCE=200809L -D_FORTIFY_SOURCE=2
-O2` -> exit 0, and with -Wall -Wextra no warning points at the new lines.