Skip to content

Instantly share code, notes, and snippets.

Created November 5, 2012 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f8687bc267d1c243be0a to your computer and use it in GitHub Desktop.
Save anonymous/f8687bc267d1c243be0a to your computer and use it in GitHub Desktop.
g++ -Wall -c "hello.cpp" (in directory: /home/pi/Desktop)
hello.cpp:4:5: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
hello.cpp:6:24: error: expected '}' before ';' token
hello.cpp:6:24: error: invalid conversion from 'void*' to 'int' [-fpermissive]
hello.cpp:8:2: error: expected unqualified-id before 'return'
hello.cpp:9:1: error: expected declaration before '}' token
Compilation failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment