This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2] Wrap BFD headers in extern "C"
- From: Alan Modra <amodra at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Andrew Pinski <pinskia at gmail dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Binutils Development <binutils at sourceware dot org>
- Date: Wed, 11 Feb 2015 11:06:18 +1030
- Subject: Re: [PATCH v2] Wrap BFD headers in extern "C"
- Authentication-results: sourceware.org; auth=none
- References: <1423524046-20605-1-git-send-email-palves at redhat dot com> <1423524046-20605-9-git-send-email-palves at redhat dot com> <CA+=Sn1mDb7kr5urZOZ7v+-89VAMs39cHDHzL_0UuqXqXOU__jQ at mail dot gmail dot com> <54D9F3EF dot 5070204 at redhat dot com>
On Tue, Feb 10, 2015 at 12:05:03PM +0000, Pedro Alves wrote:
> bfd/doc/ChangeLog:
> 2015-02-10 Pedro Alves <palves@redhat.com>
>
> * Makefile.am (libbfd.h, libcoff.h): Close extern "C" scope.
> * Makefile.in: Regenerate.
>
> bfd/ChangeLog:
> 2015-02-10 Pedro Alves <palves@redhat.com>
>
> * libbfd-in.h [__cplusplus]: Open extern "C" scope.
> * libcoff-in.h [__cplusplus]: Open extern "C" scope.
> * libbfd.h: Regenerate.
> * libcoff.h: Regenerate.
>
> * elf-bfd.h [__cplusplus]: Wrap in extern "C".
> * mach-o.h [__cplusplus]: Wrap in extern "C".
> * som.h [__cplusplus]: Wrap in extern "C".
Looks fine to me.
--
Alan Modra
Australia Development Lab, IBM