Using the below pragma
#pragma warning disable = 329
warning C329: single-line comment contains line-continuation
Interesting - but you will just fix your code, won't you...?
Probably not. The lines that the compiler's complaining about are comments. These particular comments are in a file that converts raw A/D values into meaningful sensor values, and are ASCII text drawings of the sensor circuitry. For example, consider this type of comment block:
// |\ X1 AMP // | // +---| +---[TP] // | | / // | |/
Boy... that didn't show up in the forum that way it looked when I pasted it into my reply! Can't seem to get the forum to display leading spaces in front of my primitive drawing char's, whether I use the pre /pre markers or not. The bottom line is that I have a comment of the '//' type, and the compiler's not ignoring everything after that comment identifier. Programs I write using Microsoft Visual C++ don't complain during the build process when I end a '//' comment with the '\' character, even when I have the compiler set to complain about anything and everything.
View all questions in Keil forum