|
![]() Click on image to see enlargment |
|
PC-lint/FlexeLint Output | Reference Manual Explanation | Home bug620.c
For Virginia's 21st birthday, Mike produced this program that would produce a large V to be used as a template for an accurate set of birthday candles. But something's wrong. He's not getting enough candles. Hint: you may need the visual acuity of a hawk to find the problem. bug620.c lint Output
--- Module: bug620.c (C)
_
int main() { v( 2l ); return 0; }
bug620.c 22 Warning 620: Suspicious constant (L or one?)
Reference Manual Explanation
620 Suspicious constant (L or one?) -- A constant ended in a lower-case letter 'l'.
Was this intended to be a one? The two characters look very similar. To avoid
misinterpretations, use the upper-case letter 'L'.
If you have comments or questions about this bug, please post them to our Discussion Forum |
Previous Bug - Bug #18 - June 2010