[MacPorts] #41033: cctype functions (e.g. isprint) not defined at link time when using g++ -std=c++11

MacPorts noreply at macports.org
Mon Mar 17 14:14:55 PDT 2014


#41033: cctype functions (e.g. isprint) not defined at link time when using g++
-std=c++11
--------------------------+------------------------
  Reporter:  schnetter@…  |      Owner:  jeremyhu@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:  fixed        |   Keywords:
      Port:  gcc48        |
--------------------------+------------------------

Comment (by egall@…):

 Also, for people that have not updated to Xcode 5.1 yet, you can use the
 `gl_EXTERN_INLINE` m4 macro from the `extern-inline.m4` file from
 gnulib/gettext to check for this bug in your configure script. The most
 recent version of gettext will automatically call this macro for you as
 long as you use `AM_GNU_GETTEXT([external])` and
 `AM_GNU_GETTEXT_VERSION([0.18.3])` in your `configure.ac` file. See the
 following gnulib mailing list discussion for more on the relationship
 between this autoconf macro and this bug:
 http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html

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


More information about the macports-tickets mailing list