Hi,
I've some problems compiling ice files.
I've two simple slice:
Base.ice
module test
{
interface Base
{
void Hello(string s);
};
};
..and Mybase.ice
#include <Base.ice>
module test
{
interface MyBase extends Base
{
void Welcome(string s);
};
};
I compile first Base.ice using the followig command:
slice2cppe --impl -I. Base.ice
and then the MyBase.ice with same command.
I build the generated files and I got the following compiler error in the MyBaseI.h file:
#ifndef __MyBaseI_h__
#define __MyBaseI_h__
#include <MyBase.h>
namespace test
{
class MyBaseI : virtual public MyBase,
virtual public ::test::BaseI
{
public:
virtual void Welcome(const ::std::string&,
const Ice::Current&);
};
}
#endif
Error 1 error C2039: 'BaseI' : is not a member of 'test' MyBaseI.h 11
and
Error 2 error C2504: 'BaseI' : base class undefined MyBaseI.h 11
If I put the interface definition in one slice file I haven't the above compiler error.
I got the same errors compiling the generated files both on VS 2005 and Eclipse 3.2
Can someone help me.
Thanks
Pepi.

Reply With Quote
ispatchStatus __cdecl Ice::Object::___ice_ping(class IceInternal::Incoming &,struct Ice::Current const &)" (?___ice_ping@Object@Ice@@QAA?AW4DispatchStatus@Ic eInternal@@AAVIncoming@4@ABUCurrent@2@@Z) referenced in function "public: virtual enum IceInternal: