Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#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)

boost_patch (410 bytes ) - added by Karol Trzcionka 14 years ago.

Download all attachments as: .zip

Change History (6)

by Karol Trzcionka, 14 years ago

Attachment: boost_patch added

comment:1 by Jay Weisskopf, 14 years ago

Cc: Jay Weisskopf added

comment:2 by philip, 14 years ago

Resolution: fixed
Status: newclosed

(In [8043]) Fix #552 (compile with new boost (1.44+)), based on patch from Karlik

comment:3 by (none), 14 years ago

Milestone: Unclassified

Milestone Unclassified deleted

comment:4 by historic_bruno, 12 years ago

Milestone: Alpha 2

comment:5 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.