Re: RCS fails to build with GCC 5
Thien-Thi Nguyen <[email protected]> Fri, 19 Jun 2015 00:34:01 +0200
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
() Romain Francoise <[email protected]> () Wed, 17 Jun 2015 08:51:21 +0200 https://bugs.debian.org/778100 Thanks for the tip. I see that the problem involves the exact placement of the ‘_Noreturn’ attribute. With ‘--std=c99’, it was no problem to place this at the end of a function declaration: void func (void) _Noreturn; but with ‘--std=c11’ (tested w/ GCC 4.9.2), this is what's accepted: _Noreturn void func (void); I have installed: http://git.savannah.gnu.org/cgit/rcs.git/commit/?h=p&id=260704a916 which will go into the next release if there are no problems. (If you could verify, that would be great.) -- Thien-Thi Nguyen ----------------------------------------------- (if you're human and you know it) read my lisp: (defun responsep (type via) (case type (technical (eq 'mailing-list via)) ...)) ---------------------------------------------- GPG key: 4C807502
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlWDR14ACgkQZwMiJEyAdQL2TACaA1Dz1cVhvQlTno+ZCO7wnohA /AMAniz8Rg1CaGsYSAp7roE/NdRA2IXX =wfRl -----END PGP SIGNATURE-----