Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 29 Nov 2012 10:01:24 +0000 (GMT)
From: Iain Hibbert <plunky@...-online.net>
To: Szabolcs Nagy <nsz@...t70.net>
cc: musl@...ts.openwall.com, pcc-list@...d.ltu.se
Subject: Re: Current pcc does not understand  #pragma after
 whitespace

On Wed, 28 Nov 2012, Szabolcs Nagy wrote:

> * Isaac Dunham <idunham@...abit.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..

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.