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

MacPorts noreply at macports.org
Thu Oct 15 11:15:08 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 inyeol.lee@…):

 RCS source has syntax errors regarding _Noreturn keyward usage, now CLang
 is catching them.
 The fix is to rearrange _Noreturn keyword (exiting macro), from:

     extern void Oerror (void) '''exiting''';

 to:

     '''exiting''' extern void Oerror (void);

 There are about 10 instances of this usage in base.h, b-fb.h, and
 b-complain.h. Patch uploaded - rcs.5.9.4_Noreturn.patch.

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


More information about the macports-tickets mailing list