[gme-users] Compilation error when using BON extension

Jacques Kerner jacques.kerner at oktal.fr
Tue Apr 13 10:48:20 CDT 2004


Hi Zhimin,

I filed a bug for version 4.3.17 about this (bug 53 : 
http://bugzilla.isis.vanderbilt.edu/show_bug.cgi?id=53).

The only workaround I found for now was to change the private methods to 
public. And then it works fine.
I am also using VC7.1 with STLPort and it's the only problem I had, if I 
remember correctly.

Jacques Kerner.

Zhimin He a écrit :

>Hey, all
>
>	I got a lot error message when I tried to compile the BON extension
>generated using GME 4.3.17 under VC 7.1.  All the files were generated
>automatically using the BON extender interpreter without any modification.
>Anyone can help? I attached one sample. 
>	Thx
>
>Zhimin 
>
>The line that causes the error
>IMPLEMENT_BONEXTENSION( QoS_BON::QoSFolder, "QoSFolder" )
>
>
>Error message 
>c:\VEST\QoSGME4\QoSBonExtension.cpp(8) : error C2248:
>'BON::Extension<TBON,TUserI>::setKinds' : cannot access private member
>declared in class 'BON::Extension<TBON,TUserI>'
>        with
>        [
>            TBON=BON::Folder,
>            TUserI=QoS_BON::QoSFolderImpl
>        ]
>        and
>        [
>            TBON=BON::Folder,
>            TUserI=QoS_BON::QoSFolderImpl
>        ]
>        c:\Program Files\GME\SDK\BON\Extensions.h(157) : see declaration of
>'BON::Extension<TBON,TUserI>::setKinds'
>        with
>        [
>            TBON=BON::Folder,
>            TUserI=QoS_BON::QoSFolderImpl
>        ]
>
>_______________________________________________
>gme-users mailing list
>gme-users at list.isis.vanderbilt.edu
>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
>  
>


More information about the gme-users mailing list