On 14 September 2015 at 15:11, Bruno Schneider wrote: > I'm trying to compile C++ code with the built-in "add with oveflow > check" functions[1]. But the compiler complains the built-ins have not > been declared. I'm using g++ 4.9.2. > > Attached is some minimal code to test. Can anybody help? > > [1] https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html Those functions re not supported in gcc-4.9, they were added in gcc-5 https://gcc.gnu.org/gcc-5/changes.html#c-family