-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular headers dependency compiling XnAP or E1AP #78
Comments
Note I am open to C++ tricks if that helps! |
What happens if you (a) do not set Re. an easy way to re-order - make a header file |
I get similar error in different places. With other specs (not this big) I had better luck with
Thanks I will try that... |
The problem might be due to use of
In all cases but one, the |
I isolated "choice-extension" and it does not seem the issue. The problem is in the generation and internal ordering of "ProtocolIE-Field.h", which contains a lot of inter-dependent structs and includes. I am trying to sort it out manually... |
Here is a workaround:
Note: with Here is the E1AP spec used to produce this code and the workaround: e1ap-v15.08.asn.gz |
I might add that Thank you for the workaround - it will help others. |
Absolutely, and in these specs I am finding a lot of such abuse... All but one of these extensions were empty!
BTW thank you for maintaining this fork which not only supports APER but also contains fixes very relevant for 5G R&D. |
Same here. :-( |
I am getting circular header dependency in XnAP v15.10, trying all combinations of -fno-include-deps, -fcompound, etc.
For example:
Compilation is impossible because the type
ProtocolIE_Single_Container_6337P7_t
is defined inProtocolIE-Single-Container.h
which requiresCause.h
which requires the other header.I avoided similar issues in the past by tweaking include order but cannot find an easy/generic way here.
The spec:
xnap-v15.10.asn.gz
The text was updated successfully, but these errors were encountered: