I'm porting a logger framework to KEIL arm compiler.
Unfortunatly I get an error:
logging/Logger.h(90): error: #70: incomplete type is not allowed
But to my knowledge, there should not be an error. A template is using a forward declarated type inside. As this type is part of the template definition it's template dependent. For this reason it should be possible to use this type.
Only independ types must be fully defined before using it. Keil compiler should do a two-phase-lookup but I'm not sure if that is implemented properly.
Here is a zip archive of my project from ehich you can reproduce the error. www.xup.in/.../
Does anyone have some suggestions? Is it really a compiler bug?
Robert