[gtkada] Bug report: Float values on Windows 2000.

Lars-ove Kvalstein lokval at online.no
Wed Mar 1 10:25:32 CET 2000


Hello....Norway calling.

Bug in GtkAda-1.3.6 on Windows 2000 professional.

The procedure Gtk.Main.Init causes strange float values to appear on Windows 2000,
both on Gnat 3.11p and 3.12p.

This works fine on Windows 98. I have not tested on NT 4.0. 

I have added these lines around Gtk.Main.Init in main.adb (example program: base_widget).

   t1 := 2.0;
   float_io.put(t1, 2,3,0); text_io.skip_line;
   Gtk.Main.Init;
   t2 := 2.0;
   float_io.put(t2, 2,3,0); text_io.skip_line;

The output looks like this.
	2.000
	2.047        ??  0.047 seems to have been added..

Hope the GtkAda team can find out what causes this problem.    :-)

Lars-Ove Kvalstein
lokval at online.no


More information about the gtkada mailing list