[Bug libc/16907] <argp.h> compiled with --std=cXX disables __attribute__

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Aug 19 13:25:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=16907

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.22/master has been updated
       via  718da076cbb4675b1d7ae735bc1f3698618cccec (commit)
      from  0d6895748bf4531b5e516c47409d35d104f51642 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=718da076cbb4675b1d7ae735bc1f3698618cccec

commit 718da076cbb4675b1d7ae735bc1f3698618cccec
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Aug 18 11:15:42 2016 +0200

    argp: Do not override GCC keywords with macros [BZ #16907]

    glibc provides fallback definitions already.  It is not necessary to
    suppress warnings for unknown attributes because GCC does this
    automatically for system headers.

    This commit does not sync with gnulib because gnulib has started to use
    _GL_* macros in the header file, which are arguably in the gnulib
    implementation space and not suitable for an installed glibc header
    file.

    (cherry picked from commit 2c820533c61fed175390bc6058afbbe42d2edc37)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    8 ++++++++
 argp/argp-fmtstream.h |   19 ++++---------------
 argp/argp.h           |   42 ++----------------------------------------
 3 files changed, 14 insertions(+), 55 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list