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 VSExpress2008

2009-12-17 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Anyway, this has changed recently by combining all Fl_Widget > flags in one file, and maybe this needs to be checked again. > > > I suppose we could put an: > > #ifdef _WIN32_ > > public: > > #endif > > > > Type of thing around the enum definition...? > > Hmm, or make it public anyway, or may

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 >