| ??? 11/23/01 05:56 Read: times |
#16847 - RE: Keil\'s 6.20c problem with comments |
If you are using single line comment '//' and end it with the line-continuation sign '' it shows warnings in all places where this occurs ( c and h files ).
I agree with Andy. Regardless of whether or not we're talking about doing it in a macro or not, using a line-continuation sign at the end of a single-line comment is either redundant or counter-productive, depending on how you look at it. The correct operation for a 'C' compiler that encounters a single-line comment of // is for the compiler to ignore absolutely everything that follows on that line, up to and including the next CR/LF. It is not important whether there is a line-continuation sign at the end of the line because the compiler should ignore it--and everything else that follows //. When in doubt: Craig Steiner |
| Topic | Author | Date |
| Keil's 6.20c problem with comments | 01/01/70 00:00 | |
| RE: Keil\'s 6.20c problem with comments | 01/01/70 00:00 | |
| RE: Keil\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | 01/01/70 00:00 | |
| RE: Keil\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | 01/01/70 00:00 | |
| RE: Keil | 01/01/70 00:00 | |
| RE: Keil | 01/01/70 00:00 | |
| RE: Keil | 01/01/70 00:00 | |
| RE: Keil comments - correction | 01/01/70 00:00 | |
| RE: Keil, MSVC, BCB - consensus | 01/01/70 00:00 | |
| RE: Keil\'s 6.20c problem with comments | 01/01/70 00:00 | |
| RE: Keil\'s 6.20c comments - Craig | 01/01/70 00:00 | |
| RE: Keil, MSVC, BCB - consensus | 01/01/70 00:00 | |
| RE: Keil, MSVC, BCB - consensus | 01/01/70 00:00 | |
| RE: Keil\\\'s 6.20c problem with comments | 01/01/70 00:00 | |
| RE: Keil, MSVC, BCB - consensus | 01/01/70 00:00 | |
| RE: Keil, MSVC, BCB - consensus | 01/01/70 00:00 | |
| RE: Keil, MSVC, BCB - Peter | 01/01/70 00:00 | |
First things first! | 01/01/70 00:00 |



