[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Xcode project query



On 06/04/06, Phil Martin <phil@xxxxxxxx> wrote:
> Ben,
>
> [ snip ]
>
> Note that I found that during compilation I had to replace one call
> to _tcsdup with wxStrdup but since that change is speculative I
> haven't checked it into SVN yet. You'll find it!
>
> Apols in advance if settings are missing or hardwired for paths on my
> machine - obviously any such things need to be ironed out so that the
> project file can be used on any machine with minimal change.

I have modified these files to avoid warnings:

Index: Kernel/filtimop.cpp
===================================================================
--- Kernel/filtimop.cpp	(revision 787)
+++ Kernel/filtimop.cpp	(working copy)
@@ -187,10 +187,10 @@
 	m_pthFile=pthFile;
 	m_fInsert=fInsert;
 	m_pfileFile=pfileFile;
-	m_fReportErrors=NULL;
+	m_fReportErrors=0;
 	
 	// init where the graphic is exported to
-	// this makes a reasonable guess but should be set latter
+	// this makes a reasonable guess but should be set later
 	m_GraphicPath = pthFile;
 	m_GraphicPath.SetType("gif");
 }
Index: wxOil/camdoc.cpp
===================================================================
--- wxOil/camdoc.cpp	(revision 787)
+++ wxOil/camdoc.cpp	(working copy)
@@ -1640,6 +1640,7 @@
 #else
 	wxMessageBox( _T("Save functionality has not been implemented yet.
Operation not performed."), _T("Unimplemented"),
 		wxOK | wxICON_EXCLAMATION );
+	return false;
 #endif	
 }

Index: wxOil/fontbase.cpp
===================================================================
--- wxOil/fontbase.cpp	(revision 787)
+++ wxOil/fontbase.cpp	(working copy)
@@ -883,8 +883,10 @@
 BOOL FontMetricsCacheEntry::CacheFontMetrics( wxDC* pDC,
CharDescription FontDesc,
 												MILLIPOINT DefaultHeight, INT32 DesignSize )
 {
+#ifdef __WXGTK__
 	INT32 Ascent;
 	INT32 Descent;
+#endif

 	// these values are ignored - the DesignSize needs to be read from
the font, so the
 	// scaling needs to be done by FTFontMan itself


>
>
>
>
> On 6 Apr 2006, at 15:46, Ben Fowler wrote:
>
> > On 06/04/06, Phil Martin <phil@xxxxxxxx> wrote:
> >> I've created an XCode project t ... but
> >> once it has created all the .o files, instead of linking them
> >> together it "Bundlizes" them, making a corresponding .ob file for
> >> each .o file.
> >
> >  Isn't it meant to do that?
> >
> >> I can't find out why it's doing this or how to change it. Anyone any
> >> idea?
> >
> > You are possibly several steps ahead of me: I am trying to create
> > wxOil. Kernel and now tools Frameworks as targets within a XaraLX
> > project, and am having hideous problems linking owing to hundreds of
> > undefined symbol errors.
> >
> > I do look forward to seeing your project, mind?
> >
> > Ben
>
>
>
>
>