[sword-svn] r2791 - trunk/include
Troy A. Griffitts
scribe at crosswire.org
Sat Mar 16 15:31:24 MST 2013
When do you get the error? i.e., who (?.cpp) is including zverse.h when
the error is thrown? This is probably where the #include<swbuf.h>
should be.
On 03/16/2013 11:27 PM, Chris Little wrote:
> If anyone is able to identify why this might be causing a problem with
> VC++ (other than stupid complaints about MS), I would be happy to see
> this commit reverted.
>
> I tinkered around for a while and couldn't find any solution other
> than including swbuf.h. For comparison, the zstr.h file does not need
> swbuf.h to be included--it works perfectly fine with the class
> predeclaration.
>
> My only guess is that it has something to do with versificationmgr,
> since that's really the only major stuff to have changed since I last
> updated the VC++ project files.
>
> --Chris
>
>
> On 3/16/2013 3:26 PM, chrislit at crosswire.org wrote:
>> Author: chrislit
>> Date: 2013-03-16 15:26:14 -0700 (Sat, 16 Mar 2013)
>> New Revision: 2791
>>
>> Modified:
>> trunk/include/zverse.h
>> Log:
>> VC++ complains of undefined SWBuf unless swbuf.h is included;
>> predeclaring the class doesn't work for some reason
>>
>> Modified: trunk/include/zverse.h
>> ===================================================================
>> --- trunk/include/zverse.h 2013-03-16 22:22:31 UTC (rev 2790)
>> +++ trunk/include/zverse.h 2013-03-16 22:26:14 UTC (rev 2791)
>> @@ -9,12 +9,12 @@
>> #define ZVERSE_H
>>
>> #include <defs.h>
>> +#include <swbuf.h>
>>
>> SWORD_NAMESPACE_START
>>
>> class FileDesc;
>> class SWCompress;
>> -class SWBuf;
>>
>> class SWDLLEXPORT zVerse {
>> SWCompress *compressor;
>>
>>
>> _______________________________________________
>> sword-cvs mailing list
>> sword-cvs at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-cvs
>>
>
>
> _______________________________________________
> sword-cvs mailing list
> sword-cvs at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-cvs
More information about the sword-cvs
mailing list