[MacPorts] #44274: gcc47 Issue?

MacPorts noreply at macports.org
Mon Aug 4 05:25:48 PDT 2014


#44274: gcc47 Issue?
-----------------------+-------------------
  Reporter:  davidl@…  |      Owner:  mww@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.0
Resolution:            |   Keywords:
      Port:  gcc47     |
-----------------------+-------------------

Comment (by davidl@…):

 Replying to [comment:3 ryandesign@…]:
 > Do you see the same problem with gcc48 or gcc49?
 Same problem with gcc48:

 In file included from /opt/local/include/gcc48/c++/bits/basic_ios.h:37:0,
                  from /opt/local/include/gcc48/c++/ios:44,
                  from /opt/local/include/gcc48/c++/ostream:38,
                  from /opt/local/include/gcc48/c++/iostream:39,
                  from
 /Users/davidlaxer/opencog/opencog/atomspace/AtomTable.h:28,
                  from
 /Users/davidlaxer/opencog/opencog/atomspace/AtomSpaceImpl.h:33,
                  from
 /Users/davidlaxer/opencog/opencog/atomspace/AtomSpace.h:32,
                  from /Users/davidlaxer/opencog/opencog/server/Agent.h:32,
                  from
 /Users/davidlaxer/opencog/opencog/cython/PyMindAgent.h:30,
                  from
 /Users/davidlaxer/opencog/opencog/cython/PyMindAgent.cc:2:
 /opt/local/include/gcc48/c++/bits/locale_facets.h:240:53: error: macro
 "toupper" passed 2 arguments, but takes just 1
        toupper(char_type *__lo, const char_type* __hi) const
                                                      ^
 /opt/local/include/gcc48/c++/bits/locale_facets.h:269:53: error: macro
 "tolower" passed 2 arguments, but takes just 1
        tolower(char_type* __lo, const char_type* __hi) const
                                                      ^
 /opt/local/include/gcc48/c++/bits/locale_facets.h:812:53: error: macro
 "toupper" passed 2 arguments, but takes just 1
        toupper(char_type *__lo, const char_type* __hi) const
                                                      ^
 /opt/local/include/gcc48/c++/bits/locale_facets.h:845:53: error: macro
 "tolower" passed 2 arguments, but takes just 1
        tolower(char_type* __lo, const char_type* __hi) const


 gcc49 gets compiler errors much earlier on in the process (which didn’t
 happen with gcc47 or gcc48.
 E.g.

 /Users/davidlaxer/opencog/opencog/util/Logger.cc:157:25: error: no
 matching constructor for initialization of 'std::thread'
         writer_thread = std::thread(&Logger::writingLoop, this);

-- 
Ticket URL: <https://trac.macports.org/ticket/44274#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list