【发布时间】:2012-11-15 16:24:03
【问题描述】:
我们正在尝试使用 VS2005 编译应用程序,我们收到以下错误消息:
错误 C2248: 'palo::bytecode_generator::WM_OPCODES' : 无法访问在类 'palo::bytecode_generator' c:\users\administrator\desktop\htbase\development\palo_server_988\server_export\source\library\ 中声明的私有枚举虚拟机\VirtualMachine.h 199
这是一段代码:
struct machine_state {
EPath path;
ERule* rule;
Value defValue;
Status defStatus;
uint8_t is_base;
Bytecode * pc;
Value* sp_dbl;
string* sp_str;
bytecode_generator::WM_OPCODES return_pos;
};
关于如何解决这个问题的任何想法?
谢谢
【问题讨论】: