opensubscriber
   Find in this group all groups
 
Unknown more information…

c : carbon-dev@lists.apple.com 16 January 2006 • 11:59AM -0500

PowerPlant LString in Xcode?
by Scott Squires

REPLY TO AUTHOR
 
REPLY TO GROUP




I have an old personal PowerPlant project I was porting to Xcode.
The snag now is getting LString class to compile.
I've been through the Apple porting guidelines but there's nothing about the
errors I'm getting.

Quite a few errors and I'm starting to weed through them but I figured
someone might have already gone through this.  Maybe I'm over looking a
simpel erorr or setting.  Thanks.


Example:
SInt16            CompareTo(
                            const LString&    inString) const
                        {
                            return (*mCompareFunc)(mStringPtr +  1,
                                                    &inString[1],
                                                   mStringPtr[0],
                                                   inString[0]);

                                                     }

Provides an error of:
LString.h:262: error: ISO C++ says that these are ambiguous, even though
the worst conversion for the first is better than the worst conversion for
the second:




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.