Every "throw" terminates the program with the follow text:
| This application has requested the Runtime to terminate it in an
| Please contact the application's support team for more information.
Problems comes from partial linking with "ld -r".
Bridged-net-daemon not need C++, remove unused daemon-base/build.o.
C++ in object archives 'build.a', instand partial link 'build.o'.
--start-group/--end-group for circular references between archives.
Lib mingw32 to put WinMain in grouping archives (circular reference).
The "ld -r" lose global C++ constructors. That is the main problem.
My only one working idea was the archive with "ar cr". Archives have
the problem, that the linker search only ones per file. But for sample
co_console_widget_create a circular reference. For this I use the
linker option "--start-group", if more as one archive is in inputs.
Hope, anybody can fix the problem and reenable "partial linking" for
global C++ constructors. ?
You can read the full story here:
Get latest updates about Open Source Projects, Conferences and News.