Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT 8.0 not finding functions from math.h(Function '__signbitl' could not be resolved)
CDT 8.0 not finding functions from math.h [message #721067] Wed, 31 August 2011 16:04
Eclipse UserFriend
I have some classes that use the signbit(x) function. When CDT parses them it gives an error:

Function '__signbitl' could not be resolved


When I press F3 it is able to find the definition of signbit in math.h but it looks like it is not able to find __signbitl which is used there. Same problem with isfinite().

/* Return nonzero value if sign of X is negative.  */
# ifdef __NO_LONG_DOUBLE_MATH
#  define signbit(x) \
     (sizeof (x) == sizeof (float) ? __signbitf (x) : __signbit (x))
# else
#  define signbit(x) \
     (sizeof (x) == sizeof (float)					      \
      ? __signbitf (x)							      \
      : sizeof (x) == sizeof (double)					      \
      ? __signbit (x) : __signbitl (x))
# endif


This is CDT 8.0 with Eclipse 3.7

[Updated on: Wed, 31 August 2011 16:06] by Moderator

Previous Topic:How do I show what function my cursor is in
Next Topic:Indexing of external includes not working
Goto Forum:
  


Current Time: Sat Jul 12 00:44:58 EDT 2025

Powered by FUDForum. Page generated in 0.03914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top