The code was using (unsigned) long, but a long is 32-bits in the Windows 64-bit ABI.
mingw-w64 doesn't need this, and the 64-bit version doesn't support it.
Also fix a few compiler warnings.
CFLAGS was being used for both C and C++ source files, but the rcently added -Wstrict-prototypes flag is not valid for C++.
Up to now, I've had to set git to preserve line endings when building with MinGW. The problem seems to be gperf. Let's see if this fixes it.
Observe the warning note on nexus_log_add! The returned pointer is only valid until the next pin is added to the nexus.
The first argument to $ivlh_to_unsigned should be treated as having a self-determined width.