From: Valentine Barshak <gvaxon@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] webkit: Fix build issue with gcc-4.6 and above
Date: Mon, 15 Oct 2012 17:48:28 +0400 [thread overview]
Message-ID: <507C142C.5030102@gmail.com> (raw)
In-Reply-To: <CAHXCMMJJXz-EXnSyVyL_=xcXQze=GM__k6sQsm=jSWmEQMheyw@mail.gmail.com>
On 10/13/2012 01:41 PM, Samuel Martin wrote:
> Hi Val, all,
>
> Tested using gcc-4.{6,7}-based toolchain.
>
> My comments inlined.
>
> 2012/10/4 Valentine Barshak <gvaxon@gmail.com>:
>> This fixes the "Unknown parameter for tags/attrs" build error.
>> Backported from commit 88e08c43d0200a4b06a298b7d2541965eebc0afe
>>
>> [PATCH] 2011-04-17 Thierry Reding
>> <thierry.reding@avionic-design.de>
>>
>> Reviewed by Adam Barth.
>>
>> Fix build with GCC 4.6.
>>
>> * dom/make_names.pl: Execute preprocessor without the -P option. The
>> preprocessor in GCC 4.6 eats empty lines, effectively breaking the
>> parsing performed by this script. Dropping the -P option when invoking
>> the preprocessor keeps the empty lines but as a side-effect also adds
>> additional linemarkers.
>>
>> From the cpp manpage:
>>
>> -P Inhibit generation of linemarkers in the output from the
>> preprocessor. This might be useful when running the preprocessor
>> on something that is not C code, and will be sent to a program
>> which might be confused by the linemarkers.
>>
>> The linemarkers are not problematic, however, because the script
>> properly handles them by ignoring all lines starting with a #.
>>
>> Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
> Tested-by: Samuel Martin <s.martin49@gmail.com>
> Acked-by: Samuel Martin <s.martin49@gmail.com>
>
> [...]
>> + The linemarkers are not problematic, however, because the script
>> + properly handles them by ignoring all lines starting with a #.
>> +
>> +diff --git a/WebCore/dom/make_names.pl b/Source/WebCore/dom/make_names.pl
> Nitpicking:
> s at Source/@@
>
Thanks, Samuel!
Regards,
Val
next prev parent reply other threads:[~2012-10-15 13:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 21:26 [Buildroot] [PATCH] webkit: Fix build issue with gcc-4.6 and above Valentine Barshak
2012-10-09 22:54 ` Valentine Barshak
2012-10-10 5:21 ` Samuel Martin
2012-10-13 9:41 ` Samuel Martin
2012-10-15 13:48 ` Valentine Barshak [this message]
2012-10-15 13:51 ` [Buildroot] [PATCH v2] " Valentine Barshak
2012-10-21 19:23 ` Peter Korsgaard
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=507C142C.5030102@gmail.com \
--to=gvaxon@gmail.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.