<div dir="ltr">On 11 March 2013 08:36, Iain Buclaw <span dir="ltr"><<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5"><p><br>
On Mar 10, 2013 11:41 PM, "John Colvin" <<a href="mailto:john.loughran.colvin@gmail.com" target="_blank">john.loughran.colvin@gmail.com</a>> wrote:<br>
><br>
> On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:<br>
>><br>
>> On 8 March 2013 18:37, John Colvin <<a href="mailto:john.loughran.colvin@gmail.com" target="_blank">john.loughran.colvin@gmail.com</a>> wrote:<br>
>><br>
>>> Is there any way of knowing the correct snapshot to compile with at any<br>
>>> given time? It's a pretty lengthy trial and error process to find out....<br>
>>><br>
>><br>
>> I normally update my gcc snapshot once every fortnight. If there's any<br>
>> compilation issues let me know. But I hardly run into any, if at all...<br>
><br>
><br>
> I downloaded the most recent snapshot (03/03) and gave compiling a go. After fiddling around getting mpc mpfr and gmp3 recognised, I ran in to this:<br>
><br>
> In file included from /Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfrontend/mars.c:109:0:<br>
> d/verstr.h: In constructor ‘Global::Global()’:<br>
> d/verstr.h:1:2: error: ‘n’ was not declared in this scope<br>
> -n "2.062"<br>
> ^<br>
> d/verstr.h:1:4: error: expected ‘;’ before string constant<br>
> -n "2.062"<br>
> ^<br>
><br>
> This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, GNU Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patch 2.7.1, gcc/++ 4.7.2</p>
</div></div><p>I guess that would be stupid OSX doesn't have an -n switch for echo. </p>
<p>Feel free to send a patched Make-lang.in file. But I have an idea of what instead to use.</p><p><br></p></blockquote><div><br><a href="https://github.com/D-Programming-GDC/GDC/commit/e55a446b8465476ec7eda23edb44d4591eed2627">https://github.com/D-Programming-GDC/GDC/commit/e55a446b8465476ec7eda23edb44d4591eed2627</a> <br>
</div></div><br clear="all"><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>