[mapguide-users] Bug in GwsFeatureIdSet.h?

Ronnie Louie ronnie.louie at autodesk.com
Fri Aug 4 11:30:59 EDT 2006


The commented out code was inadvertently submitted.  I have updated svn
with the correction.

Ronnie

-----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