Re: built-in functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 14, 2015 at 11:11:21AM -0300, 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.

You need GCC 5 or later for those builtins.

> [1] https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html

That is the documentation for the latest released version of the compiler.
onlinedocs/gcc-4.9.2/gcc/ etc. for your specific version.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux