This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/17077] --with-system-readline uses bundled readline include files
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 28 Jul 2015 08:49:08 +0000
- Subject: [Bug build/17077] --with-system-readline uses bundled readline include files
- Auto-submitted: auto-generated
- References: <bug-17077-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17077
--- Comment #8 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee dot org> ---
While -iquote is supported in gcc, clang and Intel's C++, HP aC++ does not
support it.
Another approach would be to use -I- instead, which is supported by HP aC++ and
Oracle's Solaris Studio, but IBM's XL C++ compiler does not support it. For
the latter is stated explicitly, that gxlc, a utility that accepts GNU C or C++
compiler options and translates them into comparable XL C/C++ options, does not
understand -I- and therefore generates a warning.
To sum up, either the -I- option is applied, until somebody complains that a
compiler is not working, or the bintutils-gdb/readline directory is moved to
binutils-gdb/rl/readline (or alike) and -Irl is comnditionally added to
CPPFLAGS.
--
You are receiving this mail because:
You are on the CC list for the bug.