[MacPorts] #56114: audacity: issues with C++11 in MemoryX.h

MacPorts noreply at macports.org
Wed Mar 21 02:52:02 UTC 2018


#56114: audacity: issues with C++11 in MemoryX.h
--------------------+----------------------
 Reporter:  mojca   |      Owner:  RJVB
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  audacity
--------------------+----------------------
 On < 10.9:
 {{{
 In file included from BlockFile.cpp:43:
 In file included from ./BlockFile.h:15:
 ./MemoryX.h:21:22: error: declaration conflicts with target of using
 declaration already in scope
 inline long long int llrint(float __x) { return __builtin_llrintf(__x); }
                      ^
 /opt/local/include/gcc/c++/cmath:1530:3: note: target of using declaration
   llrint(float __x)
   ^
 /opt/local/include/gcc/c++/math.h:94:12: note: using declaration
 using std::llrint;
            ^
 In file included from BlockFile.cpp:43:
 In file included from ./BlockFile.h:15:
 ./MemoryX.h:23:22: error: declaration conflicts with target of using
 declaration already in scope
 inline long long int llrint(long double __x) { return
 __builtin_llrintl(__x); }
                      ^
 /opt/local/include/gcc/c++/cmath:1534:3: note: target of using declaration
   llrint(long double __x)
   ^
 /opt/local/include/gcc/c++/math.h:94:12: note: using declaration
 using std::llrint;
            ^
 }}}
 See ticket:56097#comment:10

--
Ticket URL: <https://trac.macports.org/ticket/56114>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list