bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RCS fails to build with GCC 5


From: Thien-Thi Nguyen
Subject: Re: RCS fails to build with GCC 5
Date: Fri, 19 Jun 2015 00:34:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() Romain Francoise <address@hidden>
() 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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]