gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SysClock.CanGetClock()


From: Gaius Mulley
Subject: Re: SysClock.CanGetClock()
Date: Sun, 23 Jul 2023 20:59:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Michael Riedl <udo-michael.riedl@t-online.de> writes:

> Gaius,
>
> can you please have a short check - my versions of the compiler now
> always seem to have a return value of "FALSE" for
> SysClock.CanGetClock();
>
> Just notices as I had update one test routine and noted that I was
> always testing against the same set of data - the random number 
> generator uses a seed depended on the system time.
>
> Thanks
>
> Michael
>
> -----
>
> Shot check routine:
>
> MODULE TstSysClock;
>
> IMPORT SysClock;
> IMPORT STextIO;
>
> BEGIN
>       STextIO.WriteLn;
>       STextIO.WriteLn;
>       IF SysClock.CanGetClock() THEN
>         STextIO.WriteString(" clock can be read");
>       ELSE
>         STextIO.WriteString(" clock can NOT be read");
>       END;
>       STextIO.WriteLn;
>       STextIO.WriteLn;
> END TstSysClock.

Hi Michael,

many thanks for the bug report - confirmed and will fix it.  I've logged
it into GCC Bugzilla - to track the its progress (and prevent me
forgetting the bug :-)

GCC Bugzilla – Bug 110779 SysClock can not read the clock

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]