Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Dilyan Palauzov <dilyan.palauzov@aegee.org>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] use system rl headers, when --with-system-readline is provided/2
Date: Tue, 14 Jul 2015 13:33:00 -0000	[thread overview]
Message-ID: <55A50F9E.20905@aegee.org> (raw)
In-Reply-To: <55A50CE5.1040803@aegee.org>

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.
>>


  reply	other threads:[~2015-07-14 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13  9:09 [PATCH] use system rl headers, when --with-system-readline is provided Dilyan Palauzov
2015-07-13  9:29 ` Andreas Schwab
2015-07-14 13:21   ` Dilyan Palauzov
2015-07-14 13:33     ` Dilyan Palauzov [this message]
2015-07-15  7:57     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55A50F9E.20905@aegee.org \
    --to=dilyan.palauzov@aegee.org \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox