Re: RCS-5.8.2 Re: rcs-5.7.96 build feedback
Thien-Thi Nguyen <[email protected]> Tue, 05 Aug 2014 08:22:18 +0200
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
() Paul Eggert <[email protected]> () 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
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlPgeB0ACgkQZwMiJEyAdQK6HwCfYZ9eByetPcSGXcT5bYwVC4lM 0X8AnilJWsytV2+CoqsTcADMhL6PJwpv =tUtn -----END PGP SIGNATURE-----