This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rename unwind.h to unwind-gcc.h


On Mon, Apr 14, 2014 at 10:10 AM, Douglas B Rupp <rupp@adacore.com> wrote:
>
> VxWorks7 has introduced an incompatible unwind.h header file that conflicts
> with gcc's unwind.h (which is a build time header file linked to the
> appropriate source header).
>
> I'd like to propose renaming gcc's unwind.h to unwind-gcc.h
>
> There are 54 occurrences in the gcc source tree, including the testsuite and
> one in the gdb testsuite.
>
> I have a patch ready to submit, but wished to get a preliminary reaction and
> have a discussion on issues I might have failed to consider.

You may have failed to consider that unwind.h is installed and can be
#include'd by any program that is built with GCC.  Renaming the
installed file will break an unknown number of existing programs.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]