Fixes these errors on Linux:
../FL/Fl_Image.H:58: error: ISO C++ forbids initialization of member 'ERR_NO_IMAGE' ../FL/Fl_Image.H:58: error: making 'ERR_NO_IMAGE' static git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
0539009c67
commit
9632e422d3
@ -55,9 +55,9 @@ enum Fl_RGB_Scaling {
|
|||||||
class FL_EXPORT Fl_Image {
|
class FL_EXPORT Fl_Image {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
const int ERR_NO_IMAGE = -1;
|
static const int ERR_NO_IMAGE = -1;
|
||||||
const int ERR_FILE_ACCESS = -2;
|
static const int ERR_FILE_ACCESS = -2;
|
||||||
const int ERR_FORMAT = -3;
|
static const int ERR_FORMAT = -3;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int w_, h_, d_, ld_, count_;
|
int w_, h_, d_, ld_, count_;
|
||||||
|
Loading…
Reference in New Issue
Block a user