Small fix for SunStudio 8

Ian Brown ian.brown at printsoft.de
Thu Jun 21 08:10:50 PDT 2007


Hi,

            I'm just doing some pre-porting work with the latest Solaris
Express Developer release. It comes with all of the developer tools
pre-installed which is pretty nice, including the new Sun Studio 12.

 

Wx gtk pretty much compiles out of the box except that the compiler
fails on line 1305 of src/gtk/gnome/print.cpp:

 

double r = 4 * (sqrt (2) - 1) / 3;

 

This needs to be changed to:

 

double r = 4 * (sqrt (2.0) - 1) / 3;

 

Ian

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20070621/19a81d32/attachment.htm


More information about the wx-dev mailing list