This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH] use system rl headers, when --with-system-readline is provided/2


For the record, the -Wmissing-parameter-type and -Wold-style-declaration from gdb/configure.ac are not supported by clang.

On 07/14/2015 03:21 PM, Dilyan Palauzov wrote:
Hello Andreas,

clang-3.6 t.c -Wp,--help

prints:

USAGE: clang -cc1 [options] <inputs>

OPTIONS:

   -iquote <directory>     Add directory to QUOTE include search path

[with t.c: #include <stdio.h>
int main (int argc, char** argv) {printf("abc\n"); return 0;}]

Greetings
   Dilian

On 07/13/2015 11:29 AM, Andreas Schwab wrote:
Dilyan Palauzov <dilyan.palauzov@aegee.org> writes:

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index dfaa8a3..579d0dd 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -468,7 +468,7 @@ OPCODES = $(OPCODES_DIR)/libopcodes.a
  # versions?
  OP_INCLUDE = $(INCLUDE_DIR)/opcode
  # Some source files like to use #include "opcodes/file.h"
-OPCODES_CFLAGS = -I$(OP_INCLUDE) -I$(OPCODES_SRC)/..
+OPCODES_CFLAGS = -I$(OP_INCLUDE) -iquote$(OPCODES_SRC)/..

-iquote is gcc-only.

Andreas.



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