This works now: for(int i=0; ((float)i)<3.0; i++) if(i>4) error("Feh!\n"); But this doesn't: for(int i=0; i<3.0; i++) if(i>4) error("Feh!\n");
So it's something wrong with the for-loop-optimization. Pike 7.2 has the same error.
/ Hedda (Icke-KOMare)
Previous text:
2003-01-29 18:20: Subject: 3.0 > 4.0?
This is rather bad:
Pike v7.4 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
for(int i=0; i<3.0; i++)
if(i>4.0) error("Feh!\n");
Feh! HilfeInput:2: HilfeInput()->___HilfeWrapper()
Testsuite test committed.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)