What steps will reproduce the problem?
1. Create proto file with two messages referring each other:
message Foobar1
{
optional Foobar2 abc = 1;
}
message Foobar2
{
optional Foobar1 def = 1;
}
2. Create options file:
* type:FT_CALLBACK
3. Try to compile. Gives error:
AssertionError: A cyclic dependency exists amongst {'Foobar2':
set(['Foobar1']), 'Foobar1': set(['Foobar2'])}
What is the expected output? What do you see instead?
Nanopb should generate callback fields without problem.
For pointer fields it needs to generate forward declaration
Original issue reported on code.google.com by Petteri.Aimonen on 20 Aug 2014 at 2:16
Original issue reported on code.google.com by
Petteri.Aimonen
on 20 Aug 2014 at 2:16