Menu

#11 #include "component.h" create compilation errors

2.0
open
nobody
None
major
2014-01-29
2014-01-29
Gianluca
No

Due some cyclic dependencies between component.h and configurationmanager.h if a file include only component.h (for example, an header declaring a subclass of Component) the compilation fails on template implementations inside configurationmanager.h.

Workaround is to include the configurationmanager.h and never include explicity component.h

Discussion


Log in to post a comment.

MongoDB Logo MongoDB