Hello,
Is it a bug or I don't understand anything?
#define MYCONST 4108ULword G100; // Global varvoid myFunc(void){dword tempVar; G100 = (word)((tempVar * MYCONST) / 1023); // <= C2801}
Editor complain about syntax error, and the compiler says "C2801 ')' missing" .
What's the problem?
Emmanuel
Solved! Go to Solution.
Hello
Did you take a look at the preprocessor listing file?
Anything strange in there?
CrasyCat
Hello
Did you take a look at the preprocessor listing file?
Anything strange in there?
CrasyCat