Hi all,

In first, i would says a great thank about this wonderfull library !

I'm using it on Linux.

I've just loaded the SVN, and 'make' send me the message :

 Compiling Image.cxx...
 In file included from Image.cxx:90:
 x11/Image.cxx: In function `void direct_32(const uchar*, uchar*, int)':
 x11/Image.cxx:424: error: `memcpy' was not declared in this scope
 x11/Image.cxx:424: warning: unused variable 'memcpy'
 x11/Image.cxx: In function `void figure_out_visual()':
 x11/Image.cxx:800: error: `getenv' was not declared in this scope
 x11/Image.cxx:800: warning: unused variable 'getenv'
 make[1]: *** [Image.o] Error 1
 make: *** [all] Error 2

So I insert the following lines at the begin of src/x11/Image.cxx:

  #include <cstring>
  #include <cstdlib>

It seems to be ok, but is it the correct way ?
TIA

TSalm

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

Reply via email to