Strange behaviour for generated C names of functions
Sometimes (not always) C names for exposed functions in a module are generated as a program name.
Just compile the modules api.blc and hidden.blc in Testphases/boxes and compare the results.
In api.c the function hidden has the expected global name: blc__api_hidden.
In hidden.c the function init gets a program name : blc_blech_hidden_init.
Strange behaviour for generated C names of functions Sometimes (not always) C names for exposed functions in a module are generated as a program name.
Just compile the modules
api.blc
andhidden.blc
inTestphases/boxes
and compare the results. Inapi.c
the functionhidden
has the expected global name:blc__api_hidden
. Inhidden.c
the functioninit
gets a program name :blc_blech_hidden_init
.Link to a branch codegeneration for feature/modules