Use -fno-diagnostics-show-caret only for GCC 4.8 or later