[Toybox] ToyBox ?: gcc extension excision
Georgi Chorbadzhiyski
gf at unixsol.org
Sun Apr 8 14:06:24 PDT 2012
On 4/8/12 5:12 AM, Rob Landley wrote:
> On 04/07/2012 12:25 PM, Kevin Chase wrote:
>> Hi Rob,
>>
>> Just poking toybox lightly, and noticed a gcc extension in the code (x ?
>> : y for x ? x : y). I assume you want to support other compilers, so
>> here's a removal patch.
>
> Huh. I think Georgi built the thing with llvm, I don't remember him
> having to remove that? But I'm _still_ not caught up with his patch
> backlog. (I spent the past month buying a house, relatives are visiting
> this week... The usual.)
>
> If those are the only two occurrences of the thing I might as well
> remove it, but does this actually make it build somewhere it didn't
> before? (llvm? pcc? I know tinycc already supports this extension...)
clang (llvm 2.9) compiles this gcc extension without problems, but I don't
think the extension brings much to keep using it.
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
More information about the Toybox
mailing list