#552 closed defect (fixed)
compile with new boost (1.44+)
Reported by: | Karol Trzcionka | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 2 |
Component: | Core engine | Keywords: | |
Cc: | Jay Weisskopf | Patch: |
Description
At now users with new boost library are not able to build 0ad because of error like:
../../../source/lib/file/vfs/vfs_path.h:68: error: ‘is_basic_path’ is not a template ../../../source/lib/file/vfs/vfs_path.h:69: error: explicit specialization of non-template ‘boost::filesystem::is_basic_path’
http://www.wildfiregames.com/forum/index.php?showtopic=13327
I think it might be a bug in boost but the default api will be changed soon: http://live.boost.org/doc/libs/1_44_0/libs/filesystem/v3/doc/index.htm "Version 3 is a major revision with many new and improved features. It breaks some Version 2 code.
Version 2 is the default version for Boost release 1.44 only. Version 3 will become the default starting with release 1.45."
The problem is the renaming of namespaces (unfortunatelly I haven't found any official info about it) and the compiler can't find "is_basic_path".
I think the attached patch will not break building with older boost (I've tested it only with 1.44).
Attachments (1)
Change History (6)
by , 14 years ago
Attachment: | boost_patch added |
---|
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 12 years ago
Milestone: | → Alpha 2 |
---|
comment:5 by , 8 years ago
Keywords: | review removed |
---|
(In [8043]) Fix #552 (compile with new boost (1.44+)), based on patch from Karlik