code wont compile any more and ive gone crazy
As Sicrane said, your problem is most likely in wereglobalincludes.h. If you have a class or struct in there make sure it has a ; on the end of the definition... Ex: class Foo { void FooBar(); };.
well i finally got it to compile again...
the reason it would not compile does not really make sense to me but heres what was goin on ... in case any one cares ;P
the problem was between Object class and my Logger class
at first i thought that it may have been a cyclic thing, but i changed Logger so it did not inherit from Object.. same problem occured.. basically for some reason the Logger can not have Logger.h header included...
Here is the weird partjust by putting the #include Logger.h in the object class it caused c++ standard files to error such as..
excpt.h
stdarg.h
BaseTsd.h
... and many more
the reason it would not compile does not really make sense to me but heres what was goin on ... in case any one cares ;P
the problem was between Object class and my Logger class
at first i thought that it may have been a cyclic thing, but i changed Logger so it did not inherit from Object.. same problem occured.. basically for some reason the Logger can not have Logger.h header included...
Here is the weird partjust by putting the #include Logger.h in the object class it caused c++ standard files to error such as..
excpt.h
stdarg.h
BaseTsd.h
... and many more
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement