Skip to content

Instantly share code, notes, and snippets.

@paulbarbu
Created December 2, 2011 19:13
Show Gist options
  • Save paulbarbu/1424456 to your computer and use it in GitHub Desktop.
Save paulbarbu/1424456 to your computer and use it in GitHub Desktop.
gcc-debug soundgen.c -lsndfile
soundgen.c:10:5: warning: data definition has no type or storage class [enabled by default]
soundgen.c:10:5: warning: type defaults to ‘int’ in declaration of ‘freq’ [enabled by default]
soundgen.c:10:12: error: ‘frequency’ undeclared here (not in a function)
soundgen.c:11:5: error: expected identifier or ‘(’ before ‘for’
soundgen.c:11:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
soundgen.c:11:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
soundgen.c:16:5: error: expected identifier or ‘(’ before ‘for’
soundgen.c:16:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
soundgen.c:16:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
soundgen.c:21:5: error: expected identifier or ‘(’ before ‘for’
soundgen.c:21:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
soundgen.c:21:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment