name conflict after upgrade to HEAD.

Dimitry Andric dimitry at andric.com
Wed Aug 24 13:24:08 UTC 2016


On 24 Aug 2016, at 12:14, Willem Jan Withagen <wjw at digiware.nl> wrote:
> 
> While compile Ceph source code I run into this conflict of the usuage of
> 'log'
> 
> Now I've fixed it by prefixing the log with ::log on line 845.
> Which works for me, but I'm pretty sure that that is not the best solution.
...
> 
> In file included from /usr/include/c++/v1/cmath:301:
> /usr/include/c++/v1/math.h:845:37: error: reference to 'log' is ambiguous
> log(_A1 __lcpp_x) _NOEXCEPT {return log((double)__lcpp_x);}

Can you show the full command line used to build the offending source
file?  Usually this is caused by an incorrect include directory search
order.  And most often, that is caused by build systems inserting
-isystem into compile command lines.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20160824/138a24b6/attachment.sig>


More information about the freebsd-toolchain mailing list