[MacPorts] #59007: mariadb-10.2: error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
MacPorts
noreply at macports.org
Tue Sep 10 16:31:21 UTC 2019
#59007: mariadb-10.2: error: use of undeclared identifier 'finite'; did you mean
'isfinite'?
---------------------------+-----------------------
Reporter: iEFdev | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: mariadb-10.2 |
---------------------------+-----------------------
Comment (by kencu):
You could look at that file and see why they redefined that function name
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/mariadb-10.2.25/include/my_global.h:816:21:
note: expanded from macro 'isfinite'
:info:build #define isfinite(x) finite(x)
}}}
but probably I would try just disabling that `#define isfinite(x)
finite(x)` given that you don't have `finite` and you do have `isfinite`
in the first place, and see what happens.
Don't forget to run the test if you want to be real sure everything is
good with your setup.
I am often surprised by the less-than-stellar test suite performance of
software that builds. FYI.
--
Ticket URL: <https://trac.macports.org/ticket/59007#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list