[Plib-devel] Re: MacOSX problem in JS. (Steve Baker)
Brought to you by:
sjbaker
From: <ima...@ve...> - 2004-05-17 09:25:36
|
Hasn't someone already? Doesn't Olivier's js rewrite fix this? No one's put it in CVS yet (AFAIK). I refer to plib-devel digest, Vol 1 #1368 - 3 messages. I know that these fixes were held up by the point release work that was going on in April, but perhaps now is the time to put them in? Thanks, Olivier and thanks to whoever has the time (and authority) to commit these JS changes to CVS! Ima On May 16, 2004, at 11:18 PM, pli...@li... wrote: > Send plib-devel mailing list submissions to > pli...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/plib-devel > or, via email, send a message with subject or body 'help' to > pli...@li... > > You can reach the person managing the list at > pli...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of plib-devel digest..." > > > Today's Topics: > > 1. MacOSX problem in JS. (Steve Baker) > > --__--__-- > > Message: 1 > Date: Sun, 16 May 2004 13:10:33 -0500 > From: Steve Baker <sjb...@ai...> > To: pli...@li... > Subject: [Plib-devel] MacOSX problem in JS. > Reply-To: pli...@li... > > > This looks like a serious problem with the MacOSX version of JS. > > In class jsJoystick (js.h), it says: > > static const int kNumDevices; > static int numDevices; > static io_object_t ioDevices[kNumDevices]; > > ...but that 'ioDevices' array needs to be sized in such a way that a > program > including this header file can know how big the structure is. Since > the actual > VALUE of kNumDevices isn't known in the header file (it's set to 32 in > jsMacOSX.cxx), > the compiler can't compile this code. > > Stacy Lovell <ctr...@ma...> said: > >> In file included from js.cxx:23: >> js.h:97: error: data member may not have variably modified type ` >> io_object_t[jsJoystick::kNumDevices]' > > Can someone with MacOSX knowledge please fix this? > > ---------------------------- Steve Baker ------------------------- > HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> > HomePage : http://www.sjbaker.org > Projects : http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net http://prettypoly.sf.net > -----BEGIN GEEK CODE BLOCK----- > GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- > V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ > y++++ > -----END GEEK CODE BLOCK----- > > > > --__--__-- > > _______________________________________________ > plib-devel mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-devel > > > End of plib-devel Digest > |