Correct
   error: #pragma GCC diagnostic not allowed inside functions
errors seen in NetBSD-current.
Give this netbsd make rules (same as linux) -- this allows it to build
for me.