From: Chris Ball <cjb@laptop.org>
To: "werner" <w.landgraf@ru.ru>
Cc: linux-kernel@vger.kernel.org, NeilBrown <neilb@suse.de>
Subject: Re: 3.6-rc1: twl4030 don't compile :(
Date: Fri, 03 Aug 2012 01:12:10 -0400 [thread overview]
Message-ID: <87hask8sph.fsf@octavius.laptop.org> (raw)
In-Reply-To: <web-777065796@zbackend1.aha.ru> (werner's message of "Fri, 03 Aug 2012 00:17:01 -0400")
Hi,
On Fri, Aug 03 2012, werner wrote:
> CC drivers/power/twl4030_charger.o
> drivers/power/twl4030_charger.c:248:12: error: invalid suffix "b1100"
> on integer constant
drivers/power/twl4030_charger.c:
#define TWL4030_BBSEL_3V0 0b0100
#define TWL4030_BBSEL_3V1 0b1000
#define TWL4030_BBSEL_3V2 0b1100
Werner, your gcc version is too old to support the 0b-prefixed binary
constant syntax. It was introduced in gcc-4.3. The kernel compiles
fine here, on gcc-4.7.
Neil Brown added this use of the 0b prefix in 210d4bc8a3128e3e61ac3b
("twl4030_charger: Add backup-battery charging"). Neil, I don't think
we can use this syntax yet -- Documentation/Changes says that we still
support from gcc-3.2 onwards.
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2012-08-03 5:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-03 4:17 3.6-rc1: twl4030 don't compile :( werner
2012-08-03 5:12 ` Chris Ball [this message]
2012-08-03 5:55 ` NeilBrown
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=87hask8sph.fsf@octavius.laptop.org \
--to=cjb@laptop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=w.landgraf@ru.ru \
/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