Sign in to follow this  

CodeBlocks compiler error - namespace clash perhaps?

This topic is 4037 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm getting the following error when compiling my library in CodeBlocks on Windows: <source>error class Habitat::Utils::Timestamp has no member GetTickCount.</source> The compiler is complaining about this code: <source>mTimestamp.GetCurrentTime();</source> So I don't know why it's giving me this error - of course it doesn't have a member GetTickCount as I didn't put one in! I presume it's confusing my Timestamp class with another one it's compiling in, but I don't know why. I've put it into the Habitat::Utils namespace to avoid conflicts, but it still won't compile. Any thoughts? Thanks

Share this post


Link to post
Share on other sites

This topic is 4037 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this