install gcc-4.8 and g++-4.8 on ubuntu16.04
the default gcc on ubuntu16.04 is gcc-5.4 (and g++-5.4). Below is the way to install gcc4.8 (and g++-4.8):install gcc-4.8 and g++-4.8 on ubuntu16.04sudo aptitude install gcc-4.8sudo update-alter