Re: How does the SDK selection affect my compiler settings?
Re: How does the SDK selection affect my compiler settings?
- Subject: Re: How does the SDK selection affect my compiler settings?
- From: Wesley Smith <email@hidden>
- Date: Sat, 21 May 2005 10:20:26 -0700
>
> It's declared in the std:: namespace.
True! I tried:
using namespace std;
#include <cmath>
int main()
{
float x=sqrt((double)-1);
return isnan(x);
}
I still get:
/Users/na/LTItest/main.cpp: In function `int main()':
/Users/na/LTItest/main.cpp:7: error: `isnan' undeclared (first use
this function)
/Users/na/LTItest/main.cpp:7: error: (Each undeclared identifier is
reported only once for each function it appears in.)
I am still not getting something right. Might there be any other suggestions?
thanks,
wes
>
> #include <cmath>
> int main()
> {
> float x=sqrt(-1);
> return std::isnan(x);
> }
>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden