Opened 3 years ago

Last modified 3 years ago

#44224 new defect

root5: fails to compile with libc++ on 10.7 (error: no matching function for call to 'isnan')

Reported by: mojca (Mojca Miklavec) Owned by: cjones051073
Priority: Normal Milestone:
Component: ports Version:
Keywords: lion Cc: mattiafrancescomoro@…, jeremyhu (Jeremy Huddleston Sequoia)
Port: root5

Description

ROOT 5 fails to build with libc++ on Lion:

Change History (1)

comment:1 Changed 3 years ago by mojca (Mojca Miklavec)

  • Cc jeremyhu@… added

The problem is solved if I use macports-clang-3.4. But I still have no clue why the problem is there (with the default compiler) in the first place.

Here's some related discussion (different software, different function): http://www.pcl-users.org/Trunk-pcl-with-c-11-OS-X-10-8-td4025981.html

I would like to be able to create a minimal working example showing the problem with the compiler (to decide whether it's a compiler problem or something that could be easily fixed in ROOT sources), but I didn't manage to reproduce the problem outside of ROOT despite trying.

I would be grateful for some insight.

Note: See TracTickets for help on using tickets.