Build fails on OpenBSD 7.1
tarbomb opened this issue · comments
Describe the bug
There is a bit of a problem when building on OpenBSD, which seems to be from the codecs generation.
This happens on a fresh OpenBSD installation, with all dependencies for Concord installed.
Expected behavior
The expected behavior is that the build should complete correctly-- it does not.
Screenshots
Here is a textual error log, as well as some screenshots.
To Reproduce
Install a new OpenBSD virtual machine, pkg_add git, clone Concord, and perform make
Version
So first things first, looking at line 5794 of discord_codecs.h
, it seems like the token pasting is not being performed.
void strings##_cleanup(struct strings *self);
I decided to try running the Makefile in gencodecs/
manually, got the same error. Then, I ran it as such:
make CPP="cc -E"
, and it built fine. We may want to change the default CPP variable from cpp
to cc -E
, perhaps?
Fixed at d703210! Thanks for the heads up.