Is this is a bad time to mention svn co of fltk2.0 doesn't build on OSX?
Did a fresh checkout of 2.0, and on 10.4.9 with gcc_select 3.3, getting:
-------------------------------------------------------------
[..]
Compiling Font.cxx...
Compiling gifImage.cxx...
Compiling Group.cxx...
Compiling GSave.cxx...
Compiling HelpView.cxx...
Compiling HighlightButton.cxx...
Compiling Image.cxx...
Image.cxx:99: error: cannot declare variable `name' to be of type `fltk::Symbol
'
Image.cxx:99: error: because the following virtual functions are abstract:
../fltk/Symbol.h:55: error: virtual void fltk::Symbol::_draw(const
fltk::Rectangle&) const
Image.cxx:99: error: no matching function for call to `fltk::Symbol::Symbol(
fltk::PixelType)'
../fltk/Symbol.h:48: error: candidates are: fltk::Symbol::Symbol(const char* =
0)
../fltk/Symbol.h:41: error: fltk::Symbol::Symbol(const
fltk::Symbol&)
Image.cxx:99: error: cannot declare variable `pixeltype_' to be of type `
fltk::Symbol'
Image.cxx:99: error: since type `fltk::Symbol' has abstract virtual functions
../fltk/Symbol.h:41: error: `fltk::Symbol::Symbol(const fltk::Symbol&)' is
private
Image.cxx:99: error: within this context
Image.cxx:99: warning: invalid conversion from `int' to `const char*'
Image.cxx:99: warning: initializing argument 1 of `fltk::Symbol::Symbol(const
char*)'
Image.cxx:99: error: cannot allocate an object of type `const fltk::Symbol'
Image.cxx:99: error: since type `const fltk::Symbol' has abstract virtual
functions
Image.cxx:99: error: cannot declare variable `w_' to be of type `fltk::Symbol'
Image.cxx:99: error: since type `fltk::Symbol' has abstract virtual functions
../fltk/Symbol.h:41: error: `fltk::Symbol::Symbol(const fltk::Symbol&)' is
private
Image.cxx:99: error: within this context
Image.cxx:99: warning: invalid conversion from `int' to `const char*'
Image.cxx:99: warning: initializing argument 1 of `fltk::Symbol::Symbol(const
char*)'
Image.cxx:99: error: cannot allocate an object of type `const fltk::Symbol'
Image.cxx:99: error: since type `const fltk::Symbol' has abstract virtual
functions
Image.cxx:99: error: cannot declare variable `h_' to be of type `fltk::Symbol'
Image.cxx:99: error: since type `fltk::Symbol' has abstract virtual functions
Image.cxx:253: error: return type specification for destructor invalid
Image.cxx:253: warning: declaration of `virtual fltk::Image::~Image()' outside
of class is not definition
Image.cxx:253: error: parse error before `{' token
make[1]: *** [Image.o] Error 1
make: *** [all] Error 2
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev