Note that the example, as posted, does not even compile for me here... ian@immpc9:~/src/test$ fltk1-3-config --compile lucida-1.cxx g++ -I/home/Shared/fltk-1.3 -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -o 'lucida-1' 'lucida-1.cxx' /home/Shared/fltk-1.3/lib/libfltk.a -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11 lucida-1.cxx:130: error: ‘X’ was not declared in this scope lucida-1.cxx:130: error: ‘Y’ was not declared in this scope lucida-1.cxx:130: error: ‘W’ was not declared in this scope lucida-1.cxx:130: error: ‘new’ cannot appear in a constant-expression lucida-1.cxx:130: error: ISO C++ forbids declaration of ‘_pBar’ with no type lucida-1.cxx:130: error: ISO C++ forbids initialization of member ‘_pBar’ lucida-1.cxx:130: error: making ‘_pBar’ static lucida-1.cxx:130: error: ISO C++ forbids in-class initialization of non-const static member ‘_pBar’
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

