[gme-users] Trouble using BON Extension mechanism

Vijayaraghavan Kalyanapasupathy vijayaraghavan.k at isis.vanderbilt.edu
Sun May 2 23:14:17 CDT 2004


Hi Group,

I am new to this, so I am may be doing something wrong:

Essentially, I tried to use the BON Extension mechanism macros and got the foll. errors on compiling:

--------------------

Compiling...
BON2Component.cpp
c:\program files\gme\sdk\bon\extensions.h(134) : error C2039: 'type' : is not a member of 'FolderImpl'
        c:\program files\gme\sdk\bon\bonimpl.h(362) : see declaration of 'FolderImpl'
        c:\program files\gme\sdk\bon\extensions.h(133) : while compiling class-template member function 'enum BON::ExtensionType __cdecl BON::Extension<class BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum BON::ObjectType,const class _STL
::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &,const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &)'
c:\program files\gme\sdk\bon\extensions.h(134) : error C2065: 'type' : undeclared identifier
        c:\program files\gme\sdk\bon\extensions.h(133) : while compiling class-template member function 'enum BON::ExtensionType __cdecl BON::Extension<class BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum BON::ObjectType,const class _STL
::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &,const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &)'
c:\program files\gme\sdk\bon\extensions.h(145) : error C2039: 'string_type' : is not a member of 'FolderImpl'
        c:\program files\gme\sdk\bon\bonimpl.h(362) : see declaration of 'FolderImpl'
        c:\program files\gme\sdk\bon\extensions.h(133) : while compiling class-template member function 'enum BON::ExtensionType __cdecl BON::Extension<class BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum BON::ObjectType,const class _STL
::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &,const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &)'
c:\program files\gme\sdk\bon\extensions.h(145) : error C2065: 'string_type' : undeclared identifier
        c:\program files\gme\sdk\bon\extensions.h(133) : while compiling class-template member function 'enum BON::ExtensionType __cdecl BON::Extension<class BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum BON::ObjectType,const class _STL
::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &,const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &)'
c:\program files\gme\sdk\bon\extensions.h(145) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >' (or there is no accep
table conversion)
        c:\program files\gme\sdk\bon\extensions.h(133) : while compiling class-template member function 'enum BON::ExtensionType __cdecl BON::Extension<class BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum BON::ObjectType,const class _STL
::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &,const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > &)'
Error executing cl.exe.

JGenSourceGeneratorBON2Component.dll - 5 error(s), 0 warning(s)

------------------------

There are two things I can possibly infer:

1. Folder's are not meant to be used in the Extension mechanism,

or

2. It's a bug

or

3. I am doing something wrong,

Any comments?

Thanx,
Vijai.


More information about the gme-users mailing list