[MacPorts] #65300: ddrescue: @1.26.0: compilation fails for 10.7 through 10.11: error: no member named 'exit' in namespace 'std'

MacPorts noreply at macports.org
Sun Jun 5 18:57:26 UTC 2022


#65300: ddrescue: @1.26.0: compilation fails for 10.7 through 10.11: error: no
member named 'exit' in namespace 'std'
-----------------------+----------------------
  Reporter:  mascguy   |      Owner:  raimue
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:
      Port:  ddrescue  |
-----------------------+----------------------
Description changed by mascguy:

Old description:

> It looks like we either need to declare use of a newer C++ standard, or
> blacklist older Clang versions. (The latter solves the issue, based on
> local testing.)
>
> {{{
> loggers.cc:61:12: error: no member named 'exit' in namespace 'std'
>       std::exit( 1 ); }
>       ~~~~~^
> loggers.cc:65:12: error: no member named 'exit' in namespace 'std'
>       std::exit( 1 ); }
>       ~~~~~^
> 2 errors generated.
> }}}
>
> https://ports.macports.org/port/ddrescue/details/

New description:

 It looks like we either need to declare use of a newer C standard, or
 blacklist older Clang versions. (The latter solves the issue, based on
 local testing.)

 {{{
 loggers.cc:61:12: error: no member named 'exit' in namespace 'std'
       std::exit( 1 ); }
       ~~~~~^
 loggers.cc:65:12: error: no member named 'exit' in namespace 'std'
       std::exit( 1 ); }
       ~~~~~^
 2 errors generated.
 }}}

 https://ports.macports.org/port/ddrescue/details/

--

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


More information about the macports-tickets mailing list