--- In [email protected], Anand Buddhdev <[EMAIL PROTECTED]> wrote:> Hi Quackle authors, > I couldn't compile 0.95 with gcc 4.1.1 on Fedora Core 6. It produced the > following errors: > > [EMAIL PROTECTED] quackle-0.95]$ scons r=1 > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > g++ -O2 -c -o board.o board.cpp > fixedstring.h: In constructor > 'Quackle::FixedLengthString::FixedLengthString(const char*, unsigned int)': ... > fixedstring.h:106: error: 'assert' was not declared in this scope > I fixed this by temporarily adding the following line to fixedstring.h: > > #include <cassert> > > I'm not an expert C/C++ programmer, so please fix this in a more elegant > way if there's one.
That works quite nicely (arrived at same conclusion, building on Ubuntu 7.04 (Feisty Fawn), with gcc 4.1.2). cheers, p
