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.