From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] binary sprint format
Date: Thu, 6 Aug 2009 20:08:02 -0400 [thread overview]
Message-ID: <7fe7842cf842096c7c9c0456c435f519@quanstro.net> (raw)
In-Reply-To: <4A7B6EF7.6090305@tecmav.com>
On Thu Aug 6 20:03:20 EDT 2009, a.verardo@tecmav.com wrote:
> Hi, all
>
> I'm trying to convert integers in text binary format by sprint(...,
> "%b", i),
> but 8c issue a "format mismatch b INT" warning message.
>
> Can anyone kindly explain to me my mistake ?
> Doesn't "%b" behave like the other integer format specifications ?
>
> Thanks in advance
i believe you need to update your libc.h. you need pragmas for
the "b" format, which were added 2007/0108.
- erik
next prev parent reply other threads:[~2009-08-07 0:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 0:01 Adriano Verardo
2009-08-07 0:08 ` erik quanstrom [this message]
2009-08-07 0:30 ` Adriano Verardo
2009-08-07 0:34 ` erik quanstrom
2009-08-07 1:27 ` Adriano Verardo
2009-08-07 8:37 ` kjs
2009-08-07 8:37 ` Greg Comeau
2009-08-07 12:52 ` erik quanstrom
2009-08-07 2:15 Akshat Kumar
[not found] <634008374f96d39b2953843bc63d67ff@plan9.bell-labs.com>
2009-08-07 3:47 ` Adriano Verardo
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=7fe7842cf842096c7c9c0456c435f519@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).