I hope that someone can help with my question. I have this command:
first.size = (memory & 0xFF) | (memory & 0xFF) << 7 ) | ((memory & 0xFF) << 14 ) | ((memory & 0xFF) << 21 );
Yesterday was compiling perfectly and there was no problems or warnings today that I modify the program it comes with these errors:
task1c.c:111:64: error: expected ‘;’ before ‘)’ token
task1c.c:111:64: error: expected statement before ‘)’ token
task1c.c:111:66: error: expected expression before ‘|’ token
How is this possible? The code is very simple and it should not have a problem to run.
Thanks in advance for any suggestions on my problem.
This post has been edited by ButchDean: 09 February 2013 - 01:10 PM
Reason for edit:: corrected code tags.