Qt branch compiles but does not show

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Fri May 10 00:21:33 PDT 2013


On Linux/x86_64 this morning, Qt branch will compile but not run properly.
gdb shows that the problem is likely at or before line 266 of profile.c

On startup, gc->bottomy is 0 and topy is a big fat number (> 280000)

264
265             while (gc->pi.endtempcoord <= SCALEY(gc, gc->pi.minpressure
- (gc->topy) * 0.1))
266                     gc->bottomy -=  gc->topy * 0.1;
267

Commenting out lines 265 & 266 and recompiling reveals some spectacular
progress on the graphics overnight!

Various warnings from the compiler about signed/unsigned comparisons and
narrowing conversions that C++11 objects to.

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130510/30f3ac13/attachment.html>


More information about the subsurface mailing list