|ARM Technical Support Knowledge Articles|
Applies to: uVision IDE
Information in this article applies to:
I have a comment line following by a source code line:
// this is my comment P1 = 0xAA;
When I build my project it appears that the source code line is being ignored! This is causing all kinds of problems for my application.
The '' character directs the C compiler to concatenate the following line with the current line. In the example above, this causes the source code line to be joined onto the end of the comment, and therefore comments the code out.
Remove the '' from the end of the comment.
Article last edited on: 2000-10-05 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?