<p><br>
On Mar 10, 2013 11:41 PM, "John Colvin" <<a href="mailto:john.loughran.colvin@gmail.com">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">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>
<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>Regards<br>
-- <br>
Iain Buclaw</p>
<p>*(p < e ? p++ : p) = (c & 0x0f) + '0';<br>
</p>