We am making heavy use of boost::serialization and templates in general. All seems to be going well.
Except, we\'ve hit a snag on our Windows builds. It seems to cau
I faced the same problem when I compiled Poco library with MinGW-w64, it turned out that debug object was huge for one implementation file.
As you mentioned before you can split up cpp files and it will work, but when you face with someone's source code you can't do that without breaking something.
As a solution you can turn on compiler optimisations: start with -O1 up to -O3, with each step it will build smaller object file, it may solve the problem, it did in my case. Yes, for debug builds it may be undesirable, you can try -Og as well