Advertisement
Guest User

Untitled

a guest
Mar 26th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. c.cc:14: int n - Don't use one-letter variables except for short for loops [dangerous/one_letter_vars] [4]
  2. c.cc:29: Use preincrement in for loops instead of postincrement [readability/preincrement] [4]
  3. c.cc:30: Use preincrement in for loops instead of postincrement [readability/preincrement] [4]
  4. Done processing c.cc
  5. Total errors found: 3
  6.  
  7. source.cpp:48: Add blank lines between all global functions and classes. Also, indent everything inside a function at least 2 spaces. Otherwise, the code inside a global function may look like global code, and it could lead to this warning in the first place. [whitespace/blank_line_between_globals] [4]
  8. source.cpp:48: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
  9. Done processing source.cpp
  10. Total errors found: 2
  11.  
  12. Skipping input 'verbose=5': Can't open for reading
  13. c.cc:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5]
  14. Done processing c.cc
  15. Total errors found: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement