This is the mail archive of the gcc-help@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: libiberty is not installed anymore, but its header file still is


Nikos Chantziaras <realnc@gmail.com> writes:

> GCC does not install libiberty anymore.  This commit has disabled it:
>
> http://gcc.gnu.org/viewcvs?view=revision&revision=175560
>
> However, programs that were previously making use of functions like
> vasprintf() compile just fine and only fail at link time.  This is
> because libiberty.h is still installed by GCC.
>
> Functions that are not available for the user shouldn't have any
> prototypes.  Can this be considered as a GCC bug?

Yes.  If we don't install libiberty.a, we should not install
libiberty.h.

Ian


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