What exactly does not seem to work?
~d

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Saturday, July 30, 2005 2:29 AM
To: [email protected]
Subject: [Mspgcc-users] strange error


Hi,

for locking/unlocking resources i'm using volatile variables as mutexes
but that does work only sometimes with mspgcc. 
After changing the declaration

volatile unsigned char

to

volatile static unsigned char

now it works although in aout.lst only the line

00000200 g     O .data 00000001 c_mutex

is changed to

00000200 l     O .data  00000001 c_mutex
.

What can be the reason of the error?

Regards,

Rolf





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to