>> First, it is
>>   src\Fl_win32.cxx(1318[and 1629]): error C2248: 'FULLSCREEN' : cannot
>> access protected enumerator declared in class 'Fl_Widget'
>
> OK - that's presumably what the patch was changing in Fl_Wideget.H, then, by 
> changing the visibility of the enumerated values - though I can't see why it 
> should be necessary.
>
> I don't get any problem on OSX/Linux or with WinXX using the mingw compiler, 
> so I wonder what's up with VS? I'd imagine (i.e. I have not checked...) the 
> widget in question must derive from Fl_Widget, so why can it not access the 
> enumerated values? Seems odd. I'm missing something here...

Hum, the code is from Fl_win32.cxx, the function is :
Fl_X* Fl_X::make(Fl_Window* w) and try to access a protected enum.

Under VS, I don't see any link between Fl_X and Fl_Widget.

The filename is Fl_win32.cxx this is probably why it not complains under 
Linux. It's not compiling at all.


>>
>> 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').
>
> Ah, that really is odd - that just outright looks like a compiler bug to me, 
> then.
>
> Or am I missing something here too?

Same  for me. Too early to find another reason. I will check later.




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

Reply via email to