[gme-users] Compilation error when using BON extension

Zoltan Molnar zoltan.molnar at vanderbilt.edu
Tue Apr 13 11:37:44 CDT 2004


Hi,

Till the next release I suggest you (as Jacques did) modifying the
visibility of static methods and member vars of the Extension class (in
Extensions.h) to public.

Br, Zoli


> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu 
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf 
> Of Zhimin He
> Sent: Tuesday, April 13, 2004 12:17 AM
> To: gme-users at list.isis.vanderbilt.edu
> Subject: [gme-users] Compilation error when using BON extension
> 
> 
> 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