[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback
From: |
Thien-Thi Nguyen |
Subject: |
Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback |
Date: |
Tue, 05 Aug 2014 08:22:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
() Paul Eggert <address@hidden>
() Sun, 03 Aug 2014 23:06:13 -0700
I suggest not bothering with the C99 syntax here. Go with C11,
and use the 'static' keyword. That's the only thing that's
likely to help an optimizing compiler anyway. E.g., test this
in 'configure':
int
main (int argc, char *argv[static argc])
{
...
}
and then use the version with 'static' if available. Why waste
time fiddling with the 15-year-old syntax?
I thought ‘static’ in this context was indeed C99. In the (draft)
PDF i have, it is mentioned in many places the most detailed of
them being § 6.7.5.3 "Function declarators (including prototypes)".
(Identically, for the C11 draft PDF.) Am i missing something?
Anyway, you have convinced me; i have changed the test accordingly.
Thanks for the suggestion.
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
signature.asc
Description: PGP signature
- Re: RCS-5.8.2 Re: [bug-rcs] rcs-5.7.96 build feedback, Thien-Thi Nguyen, 2014/08/02
- Re: RCS-5.8.2 Re: [bug-rcs] rcs-5.7.96 build feedback, Paul Eggert, 2014/08/02
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Thien-Thi Nguyen, 2014/08/03
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Paul Eggert, 2014/08/03
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Thien-Thi Nguyen, 2014/08/03
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Thien-Thi Nguyen, 2014/08/03
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Thien-Thi Nguyen, 2014/08/04
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Paul Eggert, 2014/08/04
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback,
Thien-Thi Nguyen <=
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Paul Eggert, 2014/08/05
- Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback, Thien-Thi Nguyen, 2014/08/09