ive been writing a few C functions in some other ide for developing. (non-gnu).
All code ran fine, compiled good, in short it was working according to expectations.
Today (2007-06-24) Downloaded the most recent WinAVR-20070525 package.
All looked good till I added the a function with the following line:
Buffer is of type void* (u_int8*)FA->C.Buffer += (FA->C.Volume->BytesPerSec); [error: invalid lvalue in assignment]
And managed to make it accept the code by omitting the type cast :shock:
/*(u_int8*)*/ FA->C.Buffer += (FA->C.Volume->BytesPerSec);
My question is, is this behaviour is known? Or is it me lacking on C.
advise is highly appreciated.