Andes Workshop

It is currently Wed Apr 08, 2020 3:35 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: error: lvalue required as left operand of assignment
PostPosted: Tue Jul 02, 2013 3:57 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
This is a good article for your reference:
http://stackoverflow.com/questions/7718 ... assignment

Example:
#define test_ACT 0x001F6980
test_ACT &= 0xFFF3;

Errors when building:
error: lvalue required as left operand of assignment

Please revise it to
*((unsigned int*)test_ACT) &= 0xFFF3;


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group