The dia2code-c++ branch creates no function return type, if the return type is empty. IHMO it should use "void" (or an equivalent) if the function is no constructor.
https://sourceforge.net/p/dia2code/patches/29/ implemented this on top of the master branch, but it seems like the dia2code-c++ branch will be the future.
I addressed this in commit 03d04c.