Hi,all
I found a bug in binpac and made a patch for it.
Binpac generated c++ source will lost string consts used in pac source.
For example:
type My_Message = record {
d1:uint8;
}&let {
d2 = $context.flow.foo("test");
}
will become the following in generated c++ source:
d2_ = t_context->flow()->foo();
The patch in attachment can solve this problem.
binpac_cstr_bugfix.patch (433 Bytes)