DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2544
Version: 1.3.0


// code created by fltk
static unsigned char idata_flag_gb[] =
{255,216,255,224,0,16,74,70,73,70,0,1,1,1,0,72,0,72,0,0,255,225,0,22,69,120,
10
................
5,181,177,191,39,163,163,162,252,140,1,105,150,177,184,197,143,35,79,49,50,
213,173,196,39,130,75,247,31,255,217};
static Fl_JPEG_Image image_flag_gb("flag_gb.jpg", idata_flag_gb);

OK so this is sending a 
`char const *`, and an `const unsigned char *` 
to initialise a JPEG image from const memory


..... BUT in the Fl_JPEG_Image.H file

class FL_EXPORT Fl_JPEG_Image : public Fl_RGB_Image {
  Fl_JPEG_Image(const char *filename);
  Fl_JPEG_Image(const char *name, const unsigned char *data);

Arg 2 is now incorrect and it does not compile.

I am using release candidate 1.3.0 
(release candidate 3? `fltk-1.3.0rc3')


Link: http://www.fltk.org/str.php?L2544
Version: 1.3.0

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to