https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779

            Bug ID: 110779
           Summary: SysClock can not read the clock
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

Relayed from the gm2 mailing list:

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.


-----

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.

Reply via email to