mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Cc: pcc-list@ludd.ltu.se
Subject: Re: Current pcc does not understand  #pragma after whitespace
Date: Wed, 28 Nov 2012 11:06:10 +0100	[thread overview]
Message-ID: <20121128100610.GI10895@port70.net> (raw)
In-Reply-To: <20121127223758.485b5083.idunham@lavabit.com>

* 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 guess we can remove the pragma from feupdateenv
as there is no fp operations (or add it to the
other fe*.c files as well for consistency)


  reply	other threads:[~2012-11-28 10:06 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 [this message]
2012-11-29 10:01   ` Iain Hibbert

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=20121128100610.GI10895@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    --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).