Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Compiling error? or code error?

$
0
0
Hello everyone,

I hope that someone can help with my question. I have this command:

 
first.size = (memory[3] & 0xFF) | (memory[2] & 0xFF) << 7 ) | ((memory[1] & 0xFF) << 14 ) | ((memory[0] & 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.

Best Regards,
Thanos

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>