Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

built-in functions

12 views
Skip to first unread message

Bruno Schneider

unread,
Sep 11, 2015, 1:38:05 PM9/11/15
to
Hi, I'm trying to compile code with the __builtin_uadd_overflow function. I'm using g++ 4.9.2. However, the compiler tells me it is not declared.

Thinking it could be some restriction to g++, I made a tiny C program with the function. Then gcc compiled it, but did not link (undefined reference to `__builtin_uadd_overflow').

How can I use this function? Can I use it on a C++ program?
0 new messages