SInt32 vs int
SInt32 vs int
- Subject: SInt32 vs int
- From: Rick Mann <email@hidden>
- Date: Thu, 1 Jun 2006 19:53:48 -0700
I'm porting code from a CodeWarrior project. I call std::pow(float,
SInt32), but XCode complains. As near as I can tell, SInt32 is
defined to be signed int, which I would assume is the same as int.
However, I can't determine, for sure, where SInt32 is actually defined.
/Users/rmann/Perforce/lzd/Mac/Schem2/Sources/Views/SchematicView.cp:
108: error: call of overloaded 'pow(float&, SInt32&)' is ambiguous
note: candidates are:
double pow(double, double)
float std::pow(float, float)
long double std::pow(long double, long double)
double std::pow(double, int)
float std::pow(float, int)
long double std::pow(long double, int)
Seems to me like the second-to-last definition should match.
--
Rick
_______________________________________________
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