Sign in to follow this  

xcode problems

This topic is 3864 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

Hey, Trying to compile some stuff i wrote in vs 2005 in XCode, however I'm getting a bunch of errors, like: "runtime_error is not a member of std" or "invalid_argument is not a member of std"... which shouldn't be happening. I created a C++ Tool, is there any framework i need to include? Thanks

Share this post


Link to post
Share on other sites
Well, "xxx is not a member of std" is the error you get when you forget to #include a library that you need. It's definitely a misleading description. :)

Does the code #include <stdexcept> ? Looks like that's the library you need.

It's possible that VS 2005 includes that stuff by default, which is why you're only seeing the error now.

Share this post


Link to post
Share on other sites

This topic is 3864 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