> I don't have VS2010, so can you tell us what errors you were getting?
>
> And what the last version that did work OK was?
>
>
> Looking at the patch to Fl_Window.H, for example, it's not even obvious to me 
> that it is actually changing anything, in so far as I understand the C++ 
> syntax anyway... It just appears to be changing (in effect):
>
>     static int x, y, w, h;
>
> into:
>
>    static int x;
>    static int y;
>    static int w;
>    static int h;
>
> So... why does VS2010 not like the first form? I don't understand...

Hi, I have just updated my fltk(1.3) sources from svn and I have the
compilation errors with VS2010 too.

First, it is
  src\Fl_win32.cxx(1318[and 1629]): error C2248: 'FULLSCREEN' : cannot
access protected enumerator declared in class 'Fl_Widget'

Second (a lot of)
FL/Fl_Window.H(55): error C2487: 'no_fullscreen_y' : member of dll
interface class may not be declared with dll interface
FL/Fl_Window.H(55): error C2487: 'no_fullscreen_w' : member of dll
interface class may not be declared with dll interface
FL/Fl_Window.H(55): error C2487: 'no_fullscreen_h' : member of dll
interface class may not be declared with dll interface

I think VS applies 'static' attribute only to first variable from list
('no_fullscreen_x').

-- 
Best Regards
Nikita Egorov
nik...@gmail.com

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to