I've searched in a lot of foruns, including this one, to an answer to this error that is pissing me off. I know that it's about circular dependence, but i just can't make it work. Please take a look to the error message:
Making it shorter: "Ceu.h" calls "Iluminador.h"; "Iluminador.h" calls "Visualizador.h"; "Visualizador.h" calls another header, "main.h", witch calls almost all other headers to the project. Why only these two is giving errors back?
Thanks in advance
Last edited by Salvador37; May 11th, 2009 at 02:20 PM.
Sometimes the use of forward declarations and use of pointers and references (instead of objects ) in the headers is the only way out of such situations.
Kurt
Bookmarks