Sage is compiled with GCC. Can you enter a sage shell "sage -sh" and then try again the compilation, then that'll use the same compiler.
$ sage -sh
Starting subshell with Sage environment variables set. Don't forget
to exit when you are done. Beware:
* Do not do anything with other copies of Sage on your system.
* Do not use this for installing Sage packages using "sage -i" or for
running "make" at Sage's root directory. These should be done
outside the Sage shell.
Bypassing shell configuration files...
Note: SAGE_ROOT=/Users/vbraun/Sage
$ cpp -v
Using built-in specs.
COLLECT_GCC=cpp
Target: x86_64-apple-darwin14.0.0
Configured with: ../src/configure --prefix=/Users/vbraun/Sage/local --with-local-prefix=/Users/vbraun/Sage/local --with-gmp=/Users/vbraun/Sage/local --with-mpfr=/Users/vbraun/Sage/local --with-mpc=/Users/vbraun/Sage/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --without-isl --without-cloog
Thread model: posix
gcc version 4.9.2 (GCC)
COLLECT_GCC_OPTIONS='-E' '-mmacosx-version-min=10.9' '-v' '-mtune=core2'
/Users/vbraun/Sage/local/libexec/gcc/x86_64-apple-darwin14.0.0/4.9.2/cc1 -E -quiet -v -D__DYNAMIC__ - -fPIC -mmacosx-version-min=10.9 -mtune=core2
ignoring nonexistent directory "/Users/vbraun/Sage/local/lib/gcc/x86_64-apple-darwin14.0.0/4.9.2/../../../../x86_64-apple-darwin14.0.0/include"
ignoring duplicate directory "/Users/vbraun/Sage/local/include"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
/Users/vbraun/Sage/local/lib/gcc/x86_64-apple-darwin14.0.0/4.9.2/include
/Users/vbraun/Sage/local/include
/Users/vbraun/Sage/local/lib/gcc/x86_64-apple-darwin14.0.0/4.9.2/include-fixed
/usr/include
/System/Library/Frameworks
/Library/Frameworks
End of search list.
^C