You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to compile pion with boost 1.44.0. (I know it is an old version but this specific version is a requirement when building Adobe InDesign CS6 plugins.)
The error is introduced with the following commit: 9a3093d
where a line:
p.make_preferred();
was inserted.
As far as I have understood the boost code, make_preferred() is introduced with v3 of boost::filesystem.
So the line needs to be moved to after the following #if so it only takes effect when compiling with boost versions that use v.3 or higher. For boost version 1.44.0 and earlier which use v2 of boost::filesystem, this does not compile. In v.2 the return p.file_string() routine used in the #else part already does the conversion make_preferred() do in v3, so no changes for v.2 should be necessary.
I just tried to compile pion with boost 1.44.0. (I know it is an old version but this specific version is a requirement when building Adobe InDesign CS6 plugins.)
The error is introduced with the following commit:
9a3093d
where a line:
p.make_preferred();
was inserted.
As far as I have understood the boost code, make_preferred() is introduced with v3 of boost::filesystem.
So the line needs to be moved to after the following #if so it only takes effect when compiling with boost versions that use v.3 or higher. For boost version 1.44.0 and earlier which use v2 of boost::filesystem, this does not compile. In v.2 the return p.file_string() routine used in the #else part already does the conversion make_preferred() do in v3, so no changes for v.2 should be necessary.
So the fix should look like:
The text was updated successfully, but these errors were encountered: