From: Artem Bityutskiy <dedekind1@gmail.com>
To: Andre Naujoks <nautsch2@googlemail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: gcc 4.5 and copy_flag in libubigen.c
Date: Tue, 15 Mar 2011 10:04:56 +0200 [thread overview]
Message-ID: <1300176296.2740.0.camel@localhost> (raw)
In-Reply-To: <4D7E4437.70300@googlemail.com>
On Mon, 2011-03-14 at 17:37 +0100, Andre Naujoks wrote:
> Hi all.
>
> I am compiling a board support package with mtd-utils-1.3.1.
>
> After a gcc update to version 4.5 on my host the build fails and it
> tells me that:
>
> ./src/libubigen.c: In function 'ubigen_write_leb':
> ./src/libubigen.c:204:19: error: operation on 'u->v->copy_flag' may be
> undefined.
>
> This seems like a recently introduced warning by the new gcc version,
> but because of the -Werror halts my build.
>
> I had a look into the source at ubi-utils/old-utils/src/libubigen.c and
> it says:
You are using old UBI utils, they are not supported for long time. They
were removed from the mtd-utils tree recently. Try to use the new UBI
utilities.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2011-03-15 8:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 16:37 gcc 4.5 and copy_flag in libubigen.c Andre Naujoks
2011-03-14 17:53 ` Matthieu CASTET
2011-03-15 7:55 ` Andre Naujoks
2011-03-15 8:06 ` Artem Bityutskiy
2011-03-15 9:21 ` Andre Naujoks
2011-03-15 8:04 ` Artem Bityutskiy [this message]
2011-03-15 8:45 ` Ricard Wanderlof
2011-03-15 9:29 ` Andre Naujoks
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=1300176296.2740.0.camel@localhost \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=nautsch2@googlemail.com \
/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