Skip to content

Draft: Namespacing for internals

Bjarne von Horn requested to merge igh-vh/pdserv:namespacing into master

Currently, pdserv has several classes in a global namespace (like Main and Task). This can result in an ODR (One Definition Rule) violation, because the member functions will boil down to the same symbol name due to name mangling. When the binary is started, the runtime linker will choose between the two different symbols, which can have silly side effects. To solve this, all details are put into separate namespaces.

Merge request reports