Hi, I'm trying out Agnos and encountering this scenario
I've defined an enumeration "EnumVal" and then used that enumeration as an argument in a function. I then compiled it using the agnos compiler version 1.0.1. When I try to compile the generated code, it fails with the following errors:
TestService_server_bindings.hpp:35:24: error: ‘EnumVal’ has not been declared
TestService_server_bindings.cpp: In member function ‘virtual void TestService::ServerBindings::Processor::process_invoke(int32_t)’:
TestService_server_bindings.cpp:120:16: error: ‘_EnumVal_packer’ was not declared in this scope
TestService_server_bindings.cpp:121:47: error: ‘EnumVal’ was not declared in this scope
TestService_server_bindings.cpp:123:34: error: ‘EnumVal’ cannot appear in a constant-expression
TestService_server_bindings.cpp:123:51: error: no matching function for call to ‘any_cast(boost::any&)’
I checked the generated code and the enum "EnumVal" is not defined anywhere.
Hi, I'm trying out Agnos and encountering this scenario
I've defined an enumeration "EnumVal" and then used that enumeration as an argument in a function. I then compiled it using the agnos compiler version 1.0.1. When I try to compile the generated code, it fails with the following errors:
TestService_server_bindings.hpp:35:24: error: ‘EnumVal’ has not been declared TestService_server_bindings.cpp: In member function ‘virtual void TestService::ServerBindings::Processor::process_invoke(int32_t)’: TestService_server_bindings.cpp:120:16: error: ‘_EnumVal_packer’ was not declared in this scope TestService_server_bindings.cpp:121:47: error: ‘EnumVal’ was not declared in this scope TestService_server_bindings.cpp:123:34: error: ‘EnumVal’ cannot appear in a constant-expression TestService_server_bindings.cpp:123:51: error: no matching function for call to ‘any_cast(boost::any&)’
I checked the generated code and the enum "EnumVal" is not defined anywhere.