NVCC src/caffe/solvers/adam_solver.cu
In file included from /usr/local/cuda/include/cuda_runtime.h:76:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:115:2: error: #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
 #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
  ^
caffe:编译时提示:unsupported GNU version! gcc versions later than 4.9 are not supported!

 

what the fuck and how to fix this error  ???

....