|Re: The type of the expression must be union or anytype [message #1834039 is a reply to message #1834027]
||Fri, 30 October 2020 16:44
|| Elemer Lelik
Registered: January 2015
OK, it's the first time I hear about the Eclipse plug-ins being involved; so far you led me believe that you are working with the compiler on command line only.
So here's the situation: the Eclipse plug-ins can be used in a number of modes, but let's focus on one mode only,
namely them playing the role of an IDE as a front-end to the TTCN-3 compiler and executor (a.k.a. "compiler").
Now the compiler and the Eclipse part have independent syntactical/semantical analyses; so even of the Eclipse plug-in indicates
an error, that has no influence over the compiler. Which means you should simply disregard the error indication; it will have no effect
on the build performed by the compiler.
Of course , the compiler can be used in complete stand-alone mode, without the IDE (possibly paired with an editor that supports TTCN-3),
and many users prefer this mode.
(BTW, the error has been fixed in the latest version of the plug-ins that will be available soon; but this should not influence what you are doing).
However, there are other things that should be considered:
it appears that you are trying to compile and probably execute a test suite from 3gpp.
These test suites are only complete from TTCN-3 point of view, meaning that they are missing the parts which are non-standard and implementation specific;
As I have discussed this in several earlier posts, these parts are: codecs, test ports and external functions.
If you want to have an executable , you will have to add these yourself to your project.
Again, details have been discussed in afore-mentioned earlier posts.
Now, adding these will require an in-depth knowledge of several areas, including C/C++ programming.
So if you want to continue, please evaluate if you have sufficient resources to drive your project to conclusion.
Powered by FUDForum
. Page generated in 0.03469 seconds