<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I was looking into using toysh on Windows to solve a porting issue and this cropped up with the MS compiler.<br><BR>I wouldn't be surprised if this is an issue with Unix vendor compilers as well.<BR> <BR>--Kevin<BR><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 9 Apr 2012 00:06:24 +0300<br>> From: gf@unixsol.org<br>> To: rob@landley.net<br>> CC: kevincha99@hotmail.com; toybox@lists.landley.net<br>> Subject: Re: [Toybox] ToyBox ?: gcc extension excision<br>> <br>> On 4/8/12 5:12 AM, Rob Landley wrote:<br>> > On 04/07/2012 12:25 PM, Kevin Chase wrote:<br>> >> Hi Rob,<br>> >><br>> >> Just poking toybox lightly, and noticed a gcc extension in the code (x ?<br>> >> : y for x ? x : y). I assume you want to support other compilers, so<br>> >> here's a removal patch.<br>> ><br>> > Huh. I think Georgi built the thing with llvm, I don't remember him<br>> > having to remove that? But I'm _still_ not caught up with his patch<br>> > backlog. (I spent the past month buying a house, relatives are visiting<br>> > this week... The usual.)<br>> ><br>> > If those are the only two occurrences of the thing I might as well<br>> > remove it, but does this actually make it build somewhere it didn't<br>> > before? (llvm? pcc? I know tinycc already supports this extension...)<br>> <br>> clang (llvm 2.9) compiles this gcc extension without problems, but I don't<br>> think the extension brings much to keep using it.<br>> <br>> -- <br>> Georgi Chorbadzhiyski<br>> http://georgi.unixsol.org/<br></div> </div></body>
</html>