On 2014-01-08 16:25, Johannes Pfau wrote:
The compiler can not know that a struct isn't used/void initialized. With separate compilation TypeInfo is output in object A.o and could be used from any other object. So only the linker actually knows for sure if the TypeInfo is used (There are exceptions where even the linker can't know that. Think of dynamic libraries).
Right, separate compilation always ruins the day :( -- /Jacob Carlborg
