mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
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:
+3
-3
@@ -55,9 +55,9 @@ enum Fl_RGB_Scaling {
|
||||
class FL_EXPORT Fl_Image {
|
||||
|
||||
public:
|
||||
const int ERR_NO_IMAGE = -1;
|
||||
const int ERR_FILE_ACCESS = -2;
|
||||
const int ERR_FORMAT = -3;
|
||||
static const int ERR_NO_IMAGE = -1;
|
||||
static const int ERR_FILE_ACCESS = -2;
|
||||
static const int ERR_FORMAT = -3;
|
||||
|
||||
private:
|
||||
int w_, h_, d_, ld_, count_;
|
||||
|
||||
Reference in New Issue
Block a user