diff options
| author | Paul Eggert | 2014-11-14 12:23:11 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-11-14 12:25:11 -0800 |
| commit | dc7a3ba28b49fe67e469931bc9e66ea1b71fc4d3 (patch) | |
| tree | f0f87b955dd0e08a134b0805aeb468e348695b8e | |
| parent | 5caf6c9358068f9fca8ebde3230a2df1155c0d0c (diff) | |
| download | emacs-dc7a3ba28b49fe67e469931bc9e66ea1b71fc4d3.tar.gz emacs-dc7a3ba28b49fe67e469931bc9e66ea1b71fc4d3.zip | |
Merge from gnulib.
2014-11-14 extern-inline: update commentary about GCC bugs
2014-11-06 unistd: port to iOS
2014-11-04 update from texinfo
* doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4:
Update from gnulib.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/texinfo.tex | 27 | ||||
| -rw-r--r-- | lib/unistd.in.h | 6 | ||||
| -rw-r--r-- | m4/extern-inline.m4 | 9 |
4 files changed, 36 insertions, 13 deletions
| @@ -1,5 +1,12 @@ | |||
| 1 | 2014-11-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2014-11-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Merge from gnulib. | ||
| 4 | 2014-11-14 extern-inline: update commentary about GCC bugs | ||
| 5 | 2014-11-06 unistd: port to iOS | ||
| 6 | 2014-11-04 update from texinfo | ||
| 7 | * doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4: | ||
| 8 | Update from gnulib. | ||
| 9 | |||
| 3 | build: port to GCC 4.6.4 + glibc 2.5 | 10 | build: port to GCC 4.6.4 + glibc 2.5 |
| 4 | On platforms this old, building with _FORTIFY_SOURCE equal to 2 | 11 | On platforms this old, building with _FORTIFY_SOURCE equal to 2 |
| 5 | results in duplicate definitions of standard library functions. | 12 | results in duplicate definitions of standard library functions. |
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index 6312dadbce0..72c8cf4eed7 100644 --- a/doc/misc/texinfo.tex +++ b/doc/misc/texinfo.tex | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | % Load plain if necessary, i.e., if running under initex. | 3 | % Load plain if necessary, i.e., if running under initex. |
| 4 | \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi | 4 | \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi |
| 5 | % | 5 | % |
| 6 | \def\texinfoversion{2014-05-20.16} | 6 | \def\texinfoversion{2014-10-29.10} |
| 7 | % | 7 | % |
| 8 | % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, | 8 | % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, |
| 9 | % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 9 | % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| @@ -5739,13 +5739,16 @@ end | |||
| 5739 | % | 5739 | % |
| 5740 | % #1 is the text, #2 is the section type (Ynumbered, Ynothing, | 5740 | % #1 is the text, #2 is the section type (Ynumbered, Ynothing, |
| 5741 | % Yappendix, Yomitfromtoc), #3 the chapter number. | 5741 | % Yappendix, Yomitfromtoc), #3 the chapter number. |
| 5742 | % Not used for @heading series. | ||
| 5742 | % | 5743 | % |
| 5743 | % To test against our argument. | 5744 | % To test against our argument. |
| 5744 | \def\Ynothingkeyword{Ynothing} | 5745 | \def\Ynothingkeyword{Ynothing} |
| 5745 | \def\Yomitfromtockeyword{Yomitfromtoc} | ||
| 5746 | \def\Yappendixkeyword{Yappendix} | 5746 | \def\Yappendixkeyword{Yappendix} |
| 5747 | \def\Yomitfromtockeyword{Yomitfromtoc} | ||
| 5747 | % | 5748 | % |
| 5748 | \def\chapmacro#1#2#3{% | 5749 | \def\chapmacro#1#2#3{% |
| 5750 | \checkenv{}% chapters, etc., should not start inside an environment. | ||
| 5751 | % | ||
| 5749 | % Insert the first mark before the heading break (see notes for \domark). | 5752 | % Insert the first mark before the heading break (see notes for \domark). |
| 5750 | \let\prevchapterdefs=\lastchapterdefs | 5753 | \let\prevchapterdefs=\lastchapterdefs |
| 5751 | \let\prevsectiondefs=\lastsectiondefs | 5754 | \let\prevsectiondefs=\lastsectiondefs |
| @@ -5891,22 +5894,28 @@ end | |||
| 5891 | 5894 | ||
| 5892 | % Print any size, any type, section title. | 5895 | % Print any size, any type, section title. |
| 5893 | % | 5896 | % |
| 5894 | % #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is | 5897 | % #1 is the text of the title, |
| 5895 | % the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the | 5898 | % #2 is the section level (sec/subsec/subsubsec), |
| 5896 | % section number. | 5899 | % #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc), |
| 5900 | % #4 is the section number. | ||
| 5897 | % | 5901 | % |
| 5898 | \def\seckeyword{sec} | 5902 | \def\seckeyword{sec} |
| 5899 | % | 5903 | % |
| 5900 | \def\sectionheading#1#2#3#4{% | 5904 | \def\sectionheading#1#2#3#4{% |
| 5901 | {% | 5905 | {% |
| 5902 | \checkenv{}% should not be in an environment. | 5906 | \def\sectionlevel{#2}% |
| 5907 | \def\temptype{#3}% | ||
| 5908 | % | ||
| 5909 | % It is ok for the @heading series commands to appear inside an | ||
| 5910 | % environment (it's been historically allowed, though the logic is | ||
| 5911 | % dubious), but not the others. | ||
| 5912 | \ifx\temptype\Yomitfromtockeyword\else | ||
| 5913 | \checkenv{}% non-@*heading should not be in an environment. | ||
| 5914 | \fi | ||
| 5903 | % | 5915 | % |
| 5904 | % Switch to the right set of fonts. | 5916 | % Switch to the right set of fonts. |
| 5905 | \csname #2fonts\endcsname \rmisbold | 5917 | \csname #2fonts\endcsname \rmisbold |
| 5906 | % | 5918 | % |
| 5907 | \def\sectionlevel{#2}% | ||
| 5908 | \def\temptype{#3}% | ||
| 5909 | % | ||
| 5910 | % Insert first mark before the heading break (see notes for \domark). | 5919 | % Insert first mark before the heading break (see notes for \domark). |
| 5911 | \let\prevsectiondefs=\lastsectiondefs | 5920 | \let\prevsectiondefs=\lastsectiondefs |
| 5912 | \ifx\temptype\Ynothingkeyword | 5921 | \ifx\temptype\Ynothingkeyword |
diff --git a/lib/unistd.in.h b/lib/unistd.in.h index bbbfd75bdd6..219f43d9310 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h | |||
| @@ -401,6 +401,12 @@ _GL_WARN_ON_USE (dup3, "dup3 is unportable - " | |||
| 401 | /* Set of environment variables and values. An array of strings of the form | 401 | /* Set of environment variables and values. An array of strings of the form |
| 402 | "VARIABLE=VALUE", terminated with a NULL. */ | 402 | "VARIABLE=VALUE", terminated with a NULL. */ |
| 403 | # if defined __APPLE__ && defined __MACH__ | 403 | # if defined __APPLE__ && defined __MACH__ |
| 404 | # include <TargetConditionals.h> | ||
| 405 | # if !defined TARGET_OS_IPHONE && !defined TARGET_IPHONE_SIMULATOR | ||
| 406 | # define _GL_USE_CRT_EXTERNS | ||
| 407 | # endif | ||
| 408 | # endif | ||
| 409 | # ifdef _GL_USE_CRT_EXTERNS | ||
| 404 | # include <crt_externs.h> | 410 | # include <crt_externs.h> |
| 405 | # define environ (*_NSGetEnviron ()) | 411 | # define environ (*_NSGetEnviron ()) |
| 406 | # else | 412 | # else |
diff --git a/m4/extern-inline.m4 b/m4/extern-inline.m4 index 7f1bb397c4f..0edbe3c81c6 100644 --- a/m4/extern-inline.m4 +++ b/m4/extern-inline.m4 | |||
| @@ -74,6 +74,11 @@ AC_DEFUN([gl_EXTERN_INLINE], | |||
| 74 | # define _GL_EXTERN_INLINE static _GL_UNUSED | 74 | # define _GL_EXTERN_INLINE static _GL_UNUSED |
| 75 | #endif | 75 | #endif |
| 76 | 76 | ||
| 77 | /* In GCC, suppress bogus "no previous prototype for 'FOO'" | ||
| 78 | and "no previous declaration for 'FOO'" diagnostics, | ||
| 79 | when FOO is an inline function in the header; see | ||
| 80 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and | ||
| 81 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ | ||
| 77 | #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) | 82 | #if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) |
| 78 | # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ | 83 | # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ |
| 79 | # define _GL_INLINE_HEADER_CONST_PRAGMA | 84 | # define _GL_INLINE_HEADER_CONST_PRAGMA |
| @@ -81,10 +86,6 @@ AC_DEFUN([gl_EXTERN_INLINE], | |||
| 81 | # define _GL_INLINE_HEADER_CONST_PRAGMA \ | 86 | # define _GL_INLINE_HEADER_CONST_PRAGMA \ |
| 82 | _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") | 87 | _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") |
| 83 | # endif | 88 | # endif |
| 84 | /* Suppress GCC's bogus "no previous prototype for 'FOO'" | ||
| 85 | and "no previous declaration for 'FOO'" diagnostics, | ||
| 86 | when FOO is an inline function in the header; see | ||
| 87 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>. */ | ||
| 88 | # define _GL_INLINE_HEADER_BEGIN \ | 89 | # define _GL_INLINE_HEADER_BEGIN \ |
| 89 | _Pragma ("GCC diagnostic push") \ | 90 | _Pragma ("GCC diagnostic push") \ |
| 90 | _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ | 91 | _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ |