Gerald Pfeifer wrote:
On Wed, 20 Apr 2016, Dimitry Andric wrote:
This is because gcc48's <cmath> header does not define a whole bunch of
C99 math functions in the std:: namespace.
and /usr/local/lib/gcc48/include/c++/x86_64-portbld-freebsd9.3/bits/c++config.h
has:
/* Define if C99 functions or macros in <math.h> should be imported in
<tr1/cmath> in namespace std::tr1. */
/* #undef _GLIBCXX_USE_C99_MATH_TR1 */
I verified that current versions of GCC on FreeBSD 10.3 have
this on...
It looks like this file is generated at build time, so something in
gcc's configure scripts is turning off the "C99_MATH_TR1" support.
...I believe since FreeBSD 10 has better libc support for the long
math functions, so our best course of action (apart from counting
down those months that FreeBSD 9 still has) is seeing that we can
finally update lang/gcc from GCC 4.8 to at least 4.9, if not later.
Would be good but don't see it happening.
--
Michelle Sullivan
http://www.mhix.org/
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"