[MacPorts] #49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator

MacPorts noreply at macports.org
Thu Oct 8 02:10:54 PDT 2015


#49046: rcs @5.9.4: error: '_Noreturn' keyword must precede function declarator
---------------------------+--------------------------------
  Reporter:  inyeol.lee@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:  elcapitan
      Port:  rcs           |
---------------------------+--------------------------------

Comment (by pc@…):

 Here's a workaround, it's probably against all the rules but here goes.
 Since Apple in it's infinite wisdom has removed rcs from Xcode, I need to
 find another way of getting it now  for 10.11.

 Once you've found that things don't work, find the source of rcs.

 On my system that's

 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_rcs/rcs/work/rcs-5.9.4/src

 Edit (and you'll need to sudo) base.h

 Find the line:

 #define exiting  _Noreturn

 and replace it by

 #define exiting  ;

 Then
 sudo port install rcs
 will work. It builds the system and installs it.

 The _Noreturn keyword is a C11 artefact and the build can happen without
 it (it seems). Caveat: I really know zilch about C11. I've done some rough
 testing and rcs appears to work.

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


More information about the macports-tickets mailing list