This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Problems with gcc + exceptions + -pedantic + libiberty.h



> 1) teaching GNU libc string.h to set HAVE_DECL_BASENAME

We have no control over libc.

> 2) including string.h (+ stdio.h) in libiberty.h

What about older platforms that don't have string.h?

> That way the headers will "just work" in C++ without my application having to
> worry about setting HAVE_DECL_BASENAME myself.

Perhaps libiberty could provide a config.h that libiberty.h uses?


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