Bug in GwsFeatureIdSet.h?

Marcus Spurkel mspurkel at pacbell.net
Fri Aug 4 03:15:02 EDT 2006


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




More information about the Mapguide-users mailing list