• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SInt32 vs int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: SInt32 vs int
      • From: Rosyna <email@hidden>
  • Prev by Date: Re: Turning off undo-past-save warning?
  • Next by Date: Re: "explicit qualification in declaration" error? (SOLVED)
  • Previous by thread: GCC 3.3 error worth a bug report?
  • Next by thread: Re: SInt32 vs int
  • Index(es):
    • Date
    • Thread