Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 13th, 2011  |  syntax: Bash  |  size: 0.41 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ hexdump -C reverse.cpp | head -n 1
  2. 00000000  ef bb bf 23 69 6e 63 6c  75 64 65 20 3c 69 6f 73  |...#include <ios|
  3. [~/d/test]
  4. $ g++ --version | grep g++
  5. g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
  6. [~/d/test]
  7. $ g++ -exec-charset:ISO−88591 -std=c++0x reverse.cpp
  8. reverse.cpp: In function ‘int main()’:
  9. reverse.cpp:14:9: error: static assertion failed: "sizeof( aSingleChar ) - 1 == 1"
  10. [~/d/test]
  11. $ _
  12.  
  13.