[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r114447: Some minor cleanups of recently-added b
Re: [Emacs-diffs] trunk r114447: Some minor cleanups of recently-added bool vector code.
Tue, 24 Sep 2013 16:02:40 +0200
24 sep 2013 kl. 13:37 skrev Daniel Colascione <address@hidden>:
> On 9/23/13 9:28 PM, Paul Eggert wrote:
>> (size_t_to_host_endian): Now static, not static inline;
>> the latter isn't needed with modern compilers and doesn't
>> work with older compilers anyway.
> gcc 4.2.1, frequently the system compiler for OS X, will inline these
> functions if they are marked "static inline", but not if they're just
> marked "static". I don't think we should be removing annotations that
> help compilers that see common use.
+1. However, gcc is going away on OSX. In XCode 5.0 it is some strange
clang-hybrid (i.e. it claims to be both GCC and Clang). But it will be many
years untill we can ignore Gcc 4.2 and that generation, even on GNU/Linux, I
still have some woth Gcc 4.1.