On Friday, 14 March 2014 at 07:46:25 UTC, Steve Teale wrote:
My gut-feeling question is "is the vtable in the program or the plugin, and does this vary when the plugin implements an interface?"

I'm hoping Martin Nowak might join in this discussion.

Steve

geod@Barsoom:~/Work/BoapNet/Client/Native/SharedTemplate/test$ make plugin /home/geod/bin/dmd-2.064.2/linux/bin64/dmd -c -shared -fPIC plugin.d /home/geod/bin/dmd-2.064.2/linux/bin64/dmd plugin.o -shared -defaultlib=libphobos2.so -map geod@Barsoom:~/Work/BoapNet/Client/Native/SharedTemplate/test$ make
/home/geod/bin/dmd-2.064.2/linux/bin64/dmd -c bc.d
/home/geod/bin/dmd-2.064.2/linux/bin64/dmd -c main.d
/home/geod/bin/dmd-2.064.2/linux/bin64/dmd main.o bc.o -L-L/usr/local/lib -L-ldl -defaultlib=libphobos2.so -L-rpath=. -L-rpath=/home/geod/bin/dmd-2.064.2/linux/lib64/ geod@Barsoom:~/Work/BoapNet/Client/Native/SharedTemplate/test$ ./main
plugin ctor
I am plugin
I am plugin
I am plugin


Same result with master branch. Long story short: I can't reproduce it on my machine (Debian x86_64). Which platform are you working on ? 32 bits ?

Reply via email to