Added support for G++ 4.8.1, implemented all of N3527, silenced some warnings