FATAL ERROR in line 8821 of AST_ttcn3.cc: FormalPar::chk_actual_par_by_ref [message #1789918] |
Thu, 31 May 2018 19:23 |
|
I'm encountering the following problem (compiler bug) in ECLIPSE Titan:
FATAL ERROR: /usr/bin/ttcn3_compiler: In line 8821 of AST_ttcn3.cc: FormalPar::chk_actual_par_by_ref
I'm trying to compile the laforge/lcls branch of the "bsc" test suite in https://git.osmocom.org/osmo-ttcn3-hacks/tree/?h=laforge/lcls
To reproduce, you will need to do something like this:
* git clone git://git.osmocom.org/osmo-ttcn3-hacks/
* cd osmo-ttcn3-hacks
* git checkout laforge/lcls
* make bsc/compile
The above compiler error was observed with
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor
Product number: CRL 113 200/6 R3B
Build date: May 4 2018 17:09:28
Compiled with: GCC 7.3.0
Using OpenSSL 1.1.0h 27 Mar 2018
from debian unstable (package 6.3.1-1+b2)
It seems to be related to the calls to f_connect_handler() from f_lcls_test_init(). If I comment those calls out, the compilation passes (but of course the code doesn't execute those important functions....)
Any help is greatly appreciated.
|
|
|
|
|
|
|
Re: FATAL ERROR in line 8821 of AST_ttcn3.cc: FormalPar::chk_actual_par_by_ref [message #1789965 is a reply to message #1789963] |
Fri, 01 June 2018 09:54 |
|
thanks for confirming the issue and looking into it. no need to tag a version just for me.
as a work-around, I've now copied the f_connect_handler() function and modified the argument type to LCLS_MSC_ConnHdlr (the "extended" type). Works, but is of course rather ugly code duplication that I originally wanted to avoid by simply calling/re-using the existing function of the base type. But anyway, using that work-around I can continue my work for now.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02751 seconds