
On Wed, Apr 17, 2013 at 9:09 AM, Jason Roehm
wrote: What problems do you run into specifically? I have code that uses filesystem and std::string in the same source file without any issue.
It's a mystery to me. In one module I either include
and setup a path, then cannot see std::string from <string>. In another module it's just the opposite. std::string but no boost::filesystem::path. Additionally, CodeBench is telling me boost::filesystem::path could not be resolved. Also std::string could not be resolved. It's a "Semantic Error" which I take it is possibly a linker confusion?
Description Resource Path Location Type Type 'boost::filesystem::path' could not be resolved virtualdirectory.cpp /detector/filesystem/filesystem line 14 Semantic Error
Description Resource Path Location Type Type 'std::string' could not be resolved detectionlogger.h /detector/logger/logger line 42 Semantic Error
Are these compiler errors or IDE errors? C++ IDEs sometimes give false positive errors about C++ code due to incorrect configuration or bugs in the IDE's C++ parser. These issues are IDE-specific, so you are unlikely to be able to find help with them on boost-users (try your IDE vendor's mailing list/support channels instead). At the same time, such errors don't prevent you from actually compiling and running your code. If you are getting actual compiler errors, we can help you with those if you post: 1. What compiler and version you are using ("Sourcery CodeBench" isn't it, that's an IDE that will use some compiler like GCC for actual compilation). 2. A short (but complete) code example that fails to compile. 3. The compiler errors that you are getting. Regards, Nate