[mapguide-users] Bug in GwsFeatureIdSet.h?
Walt Welton-Lair
walt.welton-lair at autodesk.com
Fri Aug 4 09:38:23 EDT 2006
Yeah, that's not right.
I've brought this to the attention of the person who made this change.
-----Original Message-----
From: Marcus Spurkel [mailto:mspurkel at pacbell.net]
Sent: Friday, August 04, 2006 3:15 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Bug in GwsFeatureIdSet.h?
Has anyone else gotten the following error while trying to 'make' the
new FDO 3.2 compatible MapGuide code from svn->root?
./inc/GwsFeatureIdSet.h: In member function 'GWSFeatureId
CGwsFeatureIdSet<T, Interface>::ConstructId(long int) const':
./inc/GwsFeatureIdSet.h:111: error: 'keyvals' was not declared in this
scope
Looking at Server/src/Gws/GwsCommon/inc/GwsFeatureIdSet.h, the area in
question consists of:
GWSFeatureId ConstructId(long id) const
{
//GisPtr<FdoInt32Value> pVal = FdoInt32Value::Create (id);
//GisPtr<FdoDataValueCollection> keyvals =
CGwsDataValueCollection::Create ();
//keyvals->Add (pVal);
return GWSFeatureId(keyvals);
}
The thee lines were apparently commented out for the sake of FDO 3.2
compatibility, but that obviously eliminates the declaration of
"keyvals" as well. That just doesn't look right to me...
-Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide-users
mailing list