From 4dc78f64787d159667e81b29543445bc8ca40bbc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 21 Dec 2014 20:03:09 -0800 Subject: [PATCH] Remove obsolete references to pre-C99 builds * doc/lispref/internals.texi (C Integer Types): Don't mention pre-C99 compilers. --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/internals.texi | 3 +-- src/conf_post.h | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 5b3750697c8..3621c563d79 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2014-12-22 Paul Eggert + + Remove obsolete references to pre-C99 builds + * internals.texi (C Integer Types): Don't mention pre-C99 compilers. + 2014-12-19 Martin Rudalics * windows.texi (Resizing Windows): Describe new argument of diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index db6ed41268c..092ec003fb5 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi @@ -1684,8 +1684,7 @@ using @code{int}. Although it is also OK to use @code{int}, @code{0} and @code{1}, this older style is gradually being phased out. When using @code{bool}, respect the limitations of the replacement implementation of @code{bool}, as documented in the source file -@file{lib/stdbool.in.h}, so that Emacs remains portable to pre-C99 -platforms. In particular, boolean bitfields should be of type +@file{lib/stdbool.in.h}. In particular, boolean bitfields should be of type @code{bool_bf}, not @code{bool}, so that they work correctly even when compiling Objective C with standard GCC. diff --git a/src/conf_post.h b/src/conf_post.h index 8667e2554cd..90f4c6e8382 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -309,8 +309,8 @@ extern void _DebPrint (const char *fmt, ...); Other .c files should not define INLINE. C99 compilers compile functions like 'incr' as C99-style extern - inline functions. Pre-C99 GCCs do something similar with - GNU-specific keywords. Pre-C99 non-GCC compilers use static + inline functions. Buggy GCC implementations do something similar with + GNU-specific keywords. Buggy non-GCC compilers use static functions, which bloats the code but is good enough. */ #ifndef INLINE -- 2.39.2