On Thu, Oct 16, 2008 at 6:33 PM, Anand Buddhdev <[EMAIL PROTECTED]> wrote: > Quackle 0.96 won't compile on MacOS 10.5.5, using the default gcc/g++ > compiler version 4.0.1. > > The problem is with the file quacker/graphicalboard.h, at line 280: > > static const double s_defaultLetterScale = 0.7; > > I think this isn't actually allowed according to the C++ standard. > According to the C++ specs, static const types may only be initialised > in the class definition if they are integers or enumeration types. So > you can correct this by changing this line to: > > static const double s_defaultLetterScale; > > Then, edit the file quacker/graphicalboard.cpp, and add the following > somewhere near the top: > > const double TileWidget::s_defaultLetterScale = 0.7; > > This keeps the compiler happy. > > PS. I've also worked out how to build a universal binary of Quackle > for Mac OS, so if you want my help with making such a binary with > future versions of Quackle, let me know.
Thanks, Anand. I'll commit this change today and we'd be grateful for your help making a universal binary for the next version of Quackle. John
