#4135 closed Bugs (fixed)
C:\Program Files\boost\boost_1_42_0\boost/iostreams/detail/path.hpp(53) : error C2825: 'Path': must be a class or namespace when followed by '::'
Reported by: | Owned by: | Daniel James | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | iostreams |
Version: | Boost 1.42.0 | Severity: | Regression |
Keywords: | Cc: |
Description
When trying to compile a project in VisualStudio2005 and using boost1.42 I get errors (when including boost/iostreams for example) that is attached in the "log" that I've created.
I don't get this error on Linux with boost 1.38
I've built my own boost 1.42 as per instructions in "Boost Getting Started on Windows".
Attachments (1)
Change History (6)
by , 13 years ago
Attachment: | BuildLog.htm added |
---|
comment:1 by , 13 years ago
I also get those same errors when using 1.42 binaries from boostpro. I don't get them using 1.38 boostpro bins. All on vstudio2005.
comment:2 by , 13 years ago
Milestone: | Boost 1.43.0 → Boost 1.44.0 |
---|---|
Owner: | changed from | to
Severity: | Showstopper → Regression |
Status: | new → assigned |
Sorry, it's probably too late to fix this for 1.43. I think that the problem is that you're constructing with a char*
which is a closer match for the templated constructor (which is intended to be used with a Boost.Filesystem path) than for the const char*
constructor. So as a temporary workaround you could try casting to const char*
when constructing the path. I'll try to come up with a proper fix in trunk soon.
comment:3 by , 13 years ago
comment:4 by , 12 years ago
Milestone: | Boost 1.44.0 → Boost 1.43.0 |
---|
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Build log