[MacPorts] #60294: rspamd @2.4: error: unknown type name '_Noreturn'

MacPorts noreply at macports.org
Thu Apr 2 19:58:29 UTC 2020


#60294: rspamd @2.4: error: unknown type name '_Noreturn'
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  rspamd      |
-------------------------+--------------------

Comment (by jmroot):

 _Noreturn is a C11 thing, but ossl_noreturn is defined like this, which
 should work fine:
 {{{
 # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
 #  define ossl_noreturn _Noreturn
 # elif defined(__GNUC__) && __GNUC__ >= 2
 #  define ossl_noreturn __attribute__((noreturn))
 # else
 #  define ossl_noreturn
 # endif
 }}}

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


More information about the macports-tickets mailing list