Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-16 Thread MacArthur, Ian (SELEX GALILEO, UK)
> c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(236) : warning C4005: > 'POLLIN' : macro redefinition > C:\Program Files\Microsoft > SDKs\Windows\v6.0A\\include\winsock2.h(1495) : see previous > definition of 'POLLIN' > c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(237) : warning C4005: > 'POLLOUT' : ma

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-17 Thread Albrecht Schlosser
MacArthur, Ian (SELEX GALILEO, UK) wrote: >> c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(236) : warning C4005: >> 'POLLIN' : macro redefinition >> C:\Program Files\Microsoft >> SDKs\Windows\v6.0A\\include\winsock2.h(1495) : see previous >> definition of 'POLLIN' >> c:\fltk-1.3.x-r6960\src\Fl_wi

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-17 Thread Greg Ercolano
Albrecht Schlosser wrote: > MacArthur, Ian (SELEX GALILEO, UK) wrote: >> Greg wrote: >>> c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(236) : warning C4005: 'POLLIN' : macro >>> redefinition C:\Program Files\Microsoft >>> SDKs\Windows\v6.0A\\include\winsock2.h(1495) : see previous definition of >>> 'POLL

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-17 Thread imacarthur
On 17 Dec 2009, at 15:46, Greg Ercolano wrote: >> >> To be sure: Greg, would you please check what the definition of >> POLL* in winsock2.h is? > > Here's what's defined in the winsock2.h file: > > snip > > So if I read that right, the net effect is: > > #define POLLIN 0x0300 >

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-20 Thread Albrecht Schlosser
Coming back to this "FORCE_POSITION problem" ... Greg Ercolano wrote: c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(1477) : error C2248: 'FORCE_POSITION' : cannot access protected enumerator declared in class 'Fl_Widget' ../..\FL/Fl_Widget.H(151) : see declaration of 'FORCE_POSITIO

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-20 Thread Greg Ercolano
Albrecht Schlosser wrote: > Greg (or Matt, since you have VC 2008 Express installed now), > could one of you please test if it works with > > if (!(w->flags() & Fl_Window::FORCE_POSITION)) { > > in Fl_win32.cxx, line 1477 (s/Fl_Widget::/Fl_Window::/) ? There are two instaces of FORC

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-20 Thread Albrecht Schlosser
Greg Ercolano wrote: > Albrecht Schlosser wrote: >> Greg (or Matt, since you have VC 2008 Express installed now), >> could one of you please test if it works with >> >> if (!(w->flags() & Fl_Window::FORCE_POSITION)) { >> >> in Fl_win32.cxx, line 1477 (s/Fl_Widget::/Fl_Window::/) ? > > T

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-20 Thread Greg Ercolano
Albrecht Schlosser wrote: > Now I'm totally confused. The error message you posted referred to > line #1477, which is the second occurrence of FORCE_POSITION. The > first is in line #1295. What is the error message? I did a 'Rebuild solution', but who knows what goes on in the GUI.

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-20 Thread Greg Ercolano
Greg Ercolano wrote: > Albrecht Schlosser wrote: >> Now I'm totally confused. The error message you posted referred to >> line #1477, which is the second occurrence of FORCE_POSITION. The >> first is in line #1295. What is the error message? > > I did a 'Rebuild solution', but who knows what

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-21 Thread Albrecht Schlosser
Greg Ercolano wrote: > Greg Ercolano wrote: >> Albrecht Schlosser wrote: >>> Now I'm totally confused. The error message you posted referred to >>> line #1477, which is the second occurrence of FORCE_POSITION. The >>> first is in line #1295. What is the error message? >> I did a 'Rebuild solut

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-21 Thread imacarthur
On 21 Dec 2009, at 8:31, Albrecht Schlosser wrote: > The events argument is tested for POLLIN etc., but is defined to > use the FL_READ etc. constants in the interface documentation. > > classFl.html#76b6c3f9043d22034a47177914fd4054> > > Now, looking at this again

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-21 Thread Albrecht Schlosser
imacarthur wrote: > > On 21 Dec 2009, at 8:31, Albrecht Schlosser wrote: > >> The events argument is tested for POLLIN etc., but is defined to >> use the FL_READ etc. constants in the interface documentation. >> >> >> >>

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-21 Thread Greg Ercolano
This all sounds good regarding the POLL stuff. I didn't know how it was being used.. I just assumed (rightfully so, I think) that these macros were being used by the OS system calls (eg. poll(2)) If we're not passing them to the OS and are for local use only, then yes, we should use our own names

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-22 Thread Greg Ercolano
OK, I've made STR #2301 for this to ensure it doesn't fall through the cracks. Regarding the POLL* errors, I'll leave that to you all to apply, as I'm pretty sure I'm not seeing all the ins and outs of those macro's use. Regarding the FORCE_POSITION error, it sounds like there's agreement changin

Re: [fltk.development] FLTK 1.3.x r6960 -- does not build on VS Express2008

2009-12-22 Thread Albrecht Schlosser
Greg Ercolano wrote: > OK, I've made STR #2301 for this to ensure it doesn't fall through the cracks. Good idea, thanks. > Regarding the POLL* errors, I'll leave that to you all to apply, as I'm pretty > sure I'm not seeing all the ins and outs of those macro's use. Well, after looking at Fl_x.c