Hi,

I intend to use Emscripten with dynamic linking. I've compiled several side 
modules (compiled with -s SIDE_MODULE=1):


   - tactic.js contains compiled cpp class "tactic"
   - aig_tactic.js contains compiled cpp class "aig_tactic" which inherit 
   "tactic" class
   - subpaving_tactic.js contains compiled cpp class "subpaving_tactic" 
   which inherit "tactic" class


Then I include the side modules in the main module definition via


Module['dynamicLibraries'] = 
['tactic/aig/aig_tactic.js','math/subpaving/tactic/subpaving_tactic.js','tactic/tactic.js',
 
   .... ]


When I run the code I got a series of warnings like 

...
warning: trying to dynamically load symbol '__ZTS6tactic' (from 
'tactic/aig/aig_tactic.js') that already exists (duplicate symbol? or weak 
linking, which isn't supported yet?)
...
warning: trying to dynamically load symbol '__ZTS6tactic' (from 
''tactic/tactic.js') that already exists (duplicate symbol? or weak 
linking, which isn't supported yet?)



In the JavaScript code of any of the mentioned modules I see the section

var NAMED_GLOBALS = {   ...   ,"_ZTS6tactic": 4985, ... }

(the integer value varies between modules)





Could somebody advice how to "decode" the name _ZTS6tactic (e.g. how the 
name is formed)? What is compiled to it?
And why I get such behaviour?

Thanks,
Dmitry.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to