Project

General

Profile

Bug #3551

phoenix-Headers in new Boost moved

Added by Peter nicesw123 almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/29/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi,

(in cross-compiling I've noticed that...)

In wt-3.3.3 the following changes are needed:

In wt-3.3.3/src/Wt/Json/Parser.C line 27 change

#include <boost/spirit/home/phoenix/statement/throw.hpp>

to

#include <boost/phoenix/statement/throw.hpp>

@

@

In wt-3.3.3/src/Wt/Render/CssParser.C line 37 change

#include <boost/spirit/home/phoenix.hpp>

to

#include <boost/phoenix.hpp>

and also change around line 160 (ref) from

  template< typename, typename, typename, typename, typename > // Phoenix v2
  struct result { typedef void type;};

  ErrorReporting(CssGrammer< Iterator >* grammer)
    : grammer_(grammer)
  {}

to

             /******template< typename, typename, typename, typename, typename > // Phoenix v2   */
             /******struct result { typedef void type;};                                         */
  typedef void result_type;  /****** ADD THIS LINE */

  ErrorReporting(CssGrammer< Iterator >* grammer)
    : grammer_(grammer)
  {}

@

@

In wt-3.3.3/src/Wt/Dbo/SqlQueryParse.C line 23 change

#include <boost/spirit/home/phoenix/statement/throw.hpp>

to

#include <boost/phoenix/statement/throw.hpp>

Also available in: Atom PDF