[MacPorts] #53625: qscintilla: requires C++11, not using the right compiler

MacPorts noreply at macports.org
Thu Feb 23 08:33:58 UTC 2017


#53625: qscintilla: requires C++11, not using the right compiler
-------------------------+-----------------------
  Reporter:  mojca       |      Owner:  michaelld
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  qscintilla  |
-------------------------+-----------------------

Comment (by mojca):

 Thanks, that looks better. Or at least the compiler is properly chosen. It
 fails to compile though:

 {{{
 In file included from ../src/Document.cpp:22:
 In file included from /opt/local/include/gcc6/c++/regex:35:
 /opt/local/include/gcc6/c++/bits/c++0x_warning.h:32:2: error: This file
 requires compiler and library support for the ISO C++ 2011 standard. This
 support must be
       enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
 ../src/Document.cpp:2581:41: error: expected ';' at end of declaration
 list
         ByteIterator(const ByteIterator &other) NOEXCEPT {
                                                ^
                                                ;
 ../src/Document.cpp:2756:41: error: expected ';' at end of declaration
 list
         UTF8Iterator(const UTF8Iterator &other) NOEXCEPT {
                                                ^
                                                ;
 }}}

 Adding `-std=c++11` helps to go over this error, but let me try to check
 the full build first. I guess that this flag should be added by the
 PortGroup, not by the port itself.

--
Ticket URL: <https://trac.macports.org/ticket/53625#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list