|
From: Dave F. <dav...@co...> - 2004-03-24 21:40:14
|
On Wednesday 24 March 2004 08:56 pm, Gelu Stoicescu wrote: > Seems like I didn't remember anything right about the > code problem I was mentioning before. The file is > events.h, class tPlayTrack: > > track=*(((int*)dat)++); > transpose=*(((int*)dat)++); > eventlength=*(((int*)dat)++); > > and later on > > *(((int*)dat)++)=track; > *(((int*)dat)++)=transpose; > *(((int*)dat)++)=eventlength; > > each line gives error: '++' needs l-value > I guess the way ms compiler gets it is that by > conversion to int*, dat goes into a temporary location > which is incremented and later discarded. > I'll try fiddling with some compiler settings. Just > let me know if this is old code that once compiled > under win, or new code introduced nowadays. Looks like old code that compiled under VC5, at least. You might try changing the assignment to use the array operator instead of incrementing a pointer and see if that works. I did that to fix a similar problem in VC6 a few months ago. Just in case you didn't already know, you're the first person ever who's publicly tried to compile Jazz in VC6, as far as I know. ;) Dave > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel -- Visit my website! http://www.davefancella.com/?event=em There comes a time in the affairs of a man when he has to take the bull by the tail and face the situation. -- W.C. Fields |