Skip to content

Instantly share code, notes, and snippets.

@esden
Created February 17, 2015 01:52
Show Gist options
  • Save esden/9dd134775ca2cd2e5e40 to your computer and use it in GitHub Desktop.
Save esden/9dd134775ca2cd2e5e40 to your computer and use it in GitHub Desktop.
mandel.c:35: WARNING: externs should be avoided in .c files
mandel.c:36: WARNING: space prohibited between function name and open parenthesis '('
mandel.c:36: WARNING: externs should be avoided in .c files
mandel.c:38: WARNING: externs should be avoided in .c files
mandel.c:62: WARNING: Avoid CamelCase: <maxIter>
mandel.c:125: WARNING: Avoid CamelCase: <cX>
mandel.c:125: WARNING: Avoid CamelCase: <cY>
mandel.c:145: WARNING: Avoid CamelCase: <centerX>
mandel.c:145: WARNING: Avoid CamelCase: <centerY>
mandel.c:175: ERROR: do not use C99 // comments
mandel.c:176: WARNING: line over 80 characters
mandel.c:176: ERROR: do not use C99 // comments
mandel.c:195: WARNING: space prohibited before semicolon
mandel.c:195: ERROR: trailing statements should be on next line
mandel.c:195: WARNING: braces {} are needed for every statement block
mandel.c:199: ERROR: trailing whitespace
mandel.c:202: ERROR: trailing whitespace
mandel.c:203: WARNING: space prohibited between function name and open parenthesis '('
mandel.c:206: ERROR: trailing whitespace
mandel.c:211: ERROR: do not use C99 // comments
mandel.c:221: WARNING: please, no spaces at the start of a line
total: 7 errors, 14 warnings, 223 lines checked
sdram.c:122: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
sdram.c:123: ERROR: do not use C99 // comments
sdram.c:124: ERROR: do not use C99 // comments
sdram.c:125: ERROR: do not use C99 // comments
total: 3 errors, 1 warnings, 141 lines checked
clock.c:46: WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
clock.c:47: WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
clock.c:65: ERROR: trailing whitespace
clock.c:67: ERROR: trailing whitespace
clock.c:68: ERROR: trailing whitespace
clock.c:69: ERROR: trailing whitespace
clock.c:73: ERROR: trailing whitespace
clock.c:81: WARNING: space prohibited before semicolon
clock.c:81: ERROR: trailing statements should be on next line
clock.c:81: WARNING: braces {} are needed for every statement block
total: 6 errors, 4 warnings, 88 lines checked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment