<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Troy,<br>
Thanks for the email. Not sure what to do. MSVC compiles fine but we
keep eVC 3 builds around for the not so fortunate coders who can't
afford MSVC 2005 otherwise I would say forget eVC 3 support. BTW I just
noticed eVC 3 also chokes on VerseMgr.cpp, so its more work to fix than
I am willing to contribute at the moment. Maybe tomorrow.<br>
<br>
I think I am going to set this aside for now. <br>
--<br>
In Christ,<br>
David<br>
<br>
Troy A. Griffitts wrote:
<blockquote cite="mid:488B832E.4030908@crosswire.org" type="cite">
<pre wrap="">You got me on that one. This is the error where EVC3 complains about my
scope qualifier.
Basically, there is a public inner class definition in TreeKey,
PositionChangeListener. VerseTreeKey implements this interface. The
interface has a method .getTreeKey() which I need to call (ok, so it's
not technically a pure interface because it does have helper methods
like .getTreeKey()). I also have a .getTreeKey() method in
VerseTreeKey. I need to provide fully qualified scope to tell which
method I wish to call.
Originally, I used:
TreeKey::PositionChangeListener::getTreeKey()
EVC3 complained that I was trying to call a static.
So I added 'this'
this->TreeKey::PositionChangedListener::getTreeKey();
Both work in any c++ standards compliant compiler (jab jab)
If we really can't figure out how to specify scope in EVC3, I can change
the method name, I guess-- which seems really really odd, for example,
what if you override a method in a derived class and in that method want
to call your base class impl first, then do some extra processing. This
is a very common scenario. What syntax would you use to specify scope?
I'd use Base::myMethod()-- which doesn't seem to make EVC3 happy.
Let me know what you find.
        -Troy.
David Trotz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">One exception to that. It seems eVC 3 has a problem with the following...
C:\src\sword\src\keys\versetreekey.cpp(148) : error C2039: 'TreeKey' :
is not a member of 'VerseTreeKey'
..\..\..\sword\include\versetreekey.h(39) : see declaration of
'VerseTreeKey'
C:\src\sword\src\keys\versetreekey.cpp(148) : error C2039: 'TreeKey' :
is not a member of 'VerseTreeKey'
..\..\..\sword\include\versetreekey.h(39) : see declaration of
'VerseTreeKey'
C:\src\sword\src\keys\versetreekey.cpp(148) : error C2653: 'TreeKey' :
is not a class or namespace name
I will try to look into this error more later.
Troy, feel free to chime in if you have any ideas. =)
So for now my previous email is only applicable to MSVC 2005 builds.
--
In Christ,
David Trotz
David Trotz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Guys,
The current sword svn compiles and plays well with the current
swordreader svn. I had to make some minor changes to the swordreader svn
to accomodate some of the latest changes in sword svn. So be sure to
grab both at the same time if you plan to do any development this weekend.
I will be spending all day on SwordReader, and will release a new CAB
tomorrow night with the latest changes.
--
In Christ,
David Trotz
_______________________________________________
mobile-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mobile-devel@crosswire.org">mobile-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/mobile-devel">http://www.crosswire.org/mailman/listinfo/mobile-devel</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
mobile-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mobile-devel@crosswire.org">mobile-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/mobile-devel">http://www.crosswire.org/mailman/listinfo/mobile-devel</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
mobile-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mobile-devel@crosswire.org">mobile-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/mobile-devel">http://www.crosswire.org/mailman/listinfo/mobile-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>