GDC - no flush to stdio?
DLearner
bmqazwsx123 at gmail.com
Tue Apr 2 07:28:02 PDT 2013
On Monday, 1 April 2013 at 20:32:25 UTC, Johannes Pfau wrote:
> Am Mon, 01 Apr 2013 13:26:53 -0700
> schrieb Ali Çehreli <acehreli at yahoo.com>:
>
>> On 04/01/2013 01:06 PM, DLearner wrote:> On Monday, 1 April
>> 2013 at 19:01:07 UTC
>>
>> > I tried your example, getting four error messages first of
>> which
>> > was 'undefined identifier write, did you mean function
>> fwrite?'.
>> > I am using GDC as provided with Debian 6.0.7, and my usual D
>> > write-functions are writef and writefln.
>>
>> Is that a very old gdc, lined up perhaps with D1? Please try
>> the
>> latest version of dmd as well:
>>
>> http://dlang.org/download.html
>>
>> Ali
>>
>
> Looks like version 1.060:
> http://packages.debian.org/squeeze/gdc-4.3
>
> So it's really quite outdated considering we don't even
> officially
> support D1 anymore.
For the record, the suggestion made from the GDC list of:
fflush(stdout);
worked.
But of course I will now have to try to load a more recent D
compiler.
More information about the Digitalmars-d-learn
mailing list