Updated used compiler and switched on the pedantic error mode on compilation.