[MacPorts] #60302: nds2-client @0.16.2: error: cannot omit braces around initialization of subobject when using direct list-initialization

MacPorts noreply at macports.org
Fri Apr 3 13:39:45 UTC 2020


#60302: nds2-client @0.16.2: error: cannot omit braces around initialization of
subobject when using direct list-initialization
--------------------------+----------------------
  Reporter:  ryandesign   |      Owner:  emaros
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.2
Resolution:               |   Keywords:  lion
      Port:  nds2-client  |
--------------------------+----------------------

Comment (by ryandesign):

 Ed responded by email:

 > After doing some research, it seems that the correct solution is to
 > blacklist. The syntax being used changed during the C++2011 standard and
 > is acceptable from late 2011 and beyond. What compilers need to be
 > blacklisted? I will change the Portfile once I know.

 In that case, I will add

 {{{
 compiler.cxx_standard 2011
 }}}

 to the Portfile and then MacPorts should know which compilers to exclude.

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


More information about the macports-tickets mailing list