xcode problems

Started by
1 comment, last by FreJa 16 years, 11 months ago
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
"Through me the road to the city of desolation,Through me the road to sorrows diuturnal,Through me the road among the lost creation."
Advertisement
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.
Ops :P

VS forces bad habits i guess... thanks!
"Through me the road to the city of desolation,Through me the road to sorrows diuturnal,Through me the road among the lost creation."

This topic is closed to new replies.

Advertisement