From: Iain Hibbert <plunky@rya-online.net>
To: Szabolcs Nagy <nsz@port70.net>
Cc: musl@lists.openwall.com, pcc-list@ludd.ltu.se
Subject: Re: Current pcc does not understand #pragma after whitespace
Date: Thu, 29 Nov 2012 10:01:24 +0000 (GMT) [thread overview]
Message-ID: <alpine.NEB.2.00.1211290952210.1804@galant.ukfsn.org> (raw)
In-Reply-To: <20121128100610.GI10895@port70.net>
On Wed, 28 Nov 2012, Szabolcs Nagy wrote:
> * Isaac Dunham <idunham@lavabit.com> [2012-11-27 22:37:58 -0800]:
> > I tried building musl (0.9.8) with pcc (the Nov. 9 version) and found that it failed to build. After a bit of testing, I discovered that
> > #pragma ... /*in src/fenv/feupdateenv.c */
> > was breaking the buld because of the whitespace preceding the #pragma directive.
> > I've attached a workaround in musl.
>
> the way it is done is directly copy pasted from
> the example present in the standard
>
> http://port70.net/~nsz/c/c11/n1570.html#7.6.1p3
>
> so i think pcc should be fixed
I committed a fix for this
iain
* I had previously thought about investigating whether it would be better
to teach ccom to understand _Pragma() instead of #pragma, and converting
them the other way. It may be better, my thought went, for line count
matching since each _Pragma() converted to #pragma requires extra lines
inserted to the cpp output..
prev parent reply other threads:[~2012-11-29 10:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 6:37 Isaac Dunham
2012-11-28 10:06 ` Szabolcs Nagy
2012-11-29 10:01 ` Iain Hibbert [this message]
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=alpine.NEB.2.00.1211290952210.1804@galant.ukfsn.org \
--to=plunky@rya-online.net \
--cc=musl@lists.openwall.com \
--cc=nsz@port70.net \
--cc=pcc-list@ludd.ltu.se \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).