- changed status to resolved
Template specializations cruft in the Serializer
Issue #226
resolved
It's a complex story. In a nutshell the Serializer template specializations are only compiled if the "extern <blah>" is missing.
We want the "extern <blah>" to be missing in the Serializer.cpp file. But we don't want it to be missing in any other file (so they don't re-specialize the template).
As such we need a #define above the Serializer.hpp header include in the Serializer.cpp file.
(As of now, this only causes problems with Printables, but we'll log it as a bug to remind us in case it causes problems elsewhere).
Comments (1)
-
reporter - Log in to comment
Fixed as of 277651711d7e12317fdef8bd5242055152372046