Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Issue with boost::filesystem::path
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

diarrhio
Ketchup Master

53 Posts

Posted - Jun 15 2010 :  1:14:21 PM  Show Profile  Reply with Quote
I haven't done much testing with this, however, I regularly encounter this when using boost::filesystem::path. Perhaps other things are affected, but I've mainly noticed it with this.

If I add a "using boost::filesystem;" to my file, all "path" object declarations will be recognized.

e.g.
using namespace boost::filesystem;
path pathObj;

However, if I use a namespace alias or don't do any type of namespace using at all, then path fails to be recognized.

e.g.
namespace fs = boost::filesystem;
fs::path pathObj; // path is underlined in red.

or this:
boost::filesystem::path pathObj; // path is underlined in red.

I'm using latest version of VAX on VS 2005, Windows 7, and boost 1.38. Haven't tested on any newer versions of boost.

Thanks,
D

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 15 2010 :  2:20:09 PM  Show Profile  Reply with Quote
This issue is case=24901

Thank you for the clear description.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000