Description
Hi!
I have successfully built libpostal on Linux. But it fails to build on MacOS X (Catalina 10.15.6). It fails with the following error on make:
crf_context.c:366:23: error: implicit declaration of function 'double_equals' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
double scale_t = !double_equals(sum, 0.) ? 1. / sum : 1.;
Here is also the output of my gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.31.1)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Any attention to this would be greatly appreciated.
Activity