From: Markos Chandras <Markos.Chandras@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] synergy: Remove -Werror from CXXFLAGS
Date: Mon, 11 Jun 2012 09:08:04 +0100 [thread overview]
Message-ID: <4FD5A764.4040200@imgtec.com> (raw)
In-Reply-To: <87ipeygwlz.fsf@macbook.be.48ers.dk>
On 06/11/2012 08:02 AM, Peter Korsgaard wrote:
>>>>>> "Markos" == Markos Chandras <markos.chandras@imgtec.com> writes:
>
> Markos> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> Markos> ---
> Markos> package/synergy/synergy-1.3.1-remove-werror.patch | 29 +++++++++++++++++++++
> Markos> 1 files changed, 29 insertions(+), 0 deletions(-)
> Markos> create mode 100644 package/synergy/synergy-1.3.1-remove-werror.patch
>
> Markos> diff --git a/package/synergy/synergy-1.3.1-remove-werror.patch b/package/synergy/synergy-1.3.1-remove-werror.patch
> Markos> new file mode 100644
> Markos> index 0000000..fe55778
> Markos> --- /dev/null
> Markos> +++ b/package/synergy/synergy-1.3.1-remove-werror.patch
> Markos> @@ -0,0 +1,29 @@
> Markos> +Remove -Werror from CXXFLAGS
> Markos> +
> Markos> +Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> Markos> +
> Markos> +Index: synergy-1.3.1/configure
> Markos> +===================================================================
> Markos> +--- synergy-1.3.1.orig/configure
> Markos> ++++ synergy-1.3.1/configure
>
> Please patch configure.ac (and ass SYNERGY_AUTORECONF = YES in
> synergy.mk) instead of the generated configure script.
>
> Out of interest, on what configs do you see warnings? I haven't noticed
> any build errors on the autobuilder.
>
Hi Peter,
There is no configure.ac in the sources and this is why I patched the
generated configure file.
As for the errors, I guess it depends on the toolchain and gcc version
that is being used. I am seeing something like this:
cc1plus: warnings being treated as errors
CTCPSocket.cpp: In member function 'virtual void CTCPSocket::write(const
void*, UInt32)':
CTCPSocket.cpp:143: warning: 'wasEmpty' may be used uninitialized in
this function
--
markos
next prev parent reply other threads:[~2012-06-11 8:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 9:58 [Buildroot] [PATCH] synergy: Remove -Werror from CXXFLAGS Markos Chandras
2012-06-11 7:02 ` Peter Korsgaard
2012-06-11 8:08 ` Markos Chandras [this message]
2012-06-11 8:50 ` Peter Korsgaard
2012-06-11 8:53 ` Markos Chandras
2012-06-11 8:52 ` Thomas Petazzoni
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=4FD5A764.4040200@imgtec.com \
--to=markos.chandras@imgtec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox