tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/gcc6, lgamma1(), _GLIBCXX_USE_C99_MATH_TR1 and "'round' is not a member of 'std'"



I am building 2018Q2 using lang/gcc6 (GCC 6.4.0).
I got "'round' is not a member of 'std'".
I found out this is because bits/c++config.h doesn't define 
_GLIBCXX_USE_C99_MATH_TR1.
According to a freebsd thread 
(https://lists.freebsd.org/pipermail/freebsd-current/2014-January/048130.html) 
GCC does this if libm doesn't contain lgamma1 etc.
So, while I'm on 6.1, it looks like no NetBSD's libm contains lgamma1.
Is this true? If no, what do I overlook? If yes, how to resolve it?


Home | Main Index | Thread Index | Old Index