Hi Luke, here is the whole list. We are using gcc 4.3.3 with Boost 1.45.0, but it has also been tested with 1.46.1 with the same error output.

 

In file included from ..../include/boost/polygon/polygon.hpp:24,

                 from accessors/shapes/Polygon.h:18,

                 from accessors/shapes/Polygon.cc:8:

..../include/boost/polygon/transform.hpp:147: error: expected identifier before numeric constant

..../include/boost/polygon/transform.hpp:147: error: expected `}' before numeric constant

..../include/boost/polygon/transform.hpp:147: error: expected unqualified-id before numeric constant

..../include/boost/polygon/transform.hpp:219: error: expected unqualified-id before ')' token

..../include/boost/polygon/transform.hpp:220: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:221: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:221: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:222: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:222: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:223: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:223: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:224: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:224: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:225: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:225: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:228: error: 'boost::polygon::axis_transformation& boost::polygon::operator=(const boost::polygon::axis_transformation&)' must be a nonstatic member function

..../include/boost/polygon/transform.hpp:231: error: expected ',' or '...' before '&' token

..../include/boost/polygon/transform.hpp:231: error: 'boost::polygon::axis_transformation& boost::polygon::operator=(int)' must be a nonstatic member function

..../include/boost/polygon/transform.hpp:234: error: non-member function 'bool boost::polygon::operator==(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:234: error: 'bool boost::polygon::operator==(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:237: error: non-member function 'bool boost::polygon::operator!=(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:237: error: 'bool boost::polygon::operator!=(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:240: error: non-member function 'bool boost::polygon::operator<(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:240: error: 'bool boost::polygon::operator<(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:243: error: non-member function 'boost::polygon::axis_transformation boost::polygon::operator+(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:246: error: 'boost::polygon::axis_transformation& boost::polygon::operator+=(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:250: error: non-member function 'void boost::polygon::populate_axis_array(boost::polygon::INDIVIDUAL_AXIS*)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:255: error: non-member function 'void boost::polygon::get_directions(boost::polygon::direction_2d&, boost::polygon::direction_2d&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp: In function 'void boost::polygon::get_directions(boost::polygon::direction_2d&, boost::polygon::direction_2d&)':

..../include/boost/polygon/transform.hpp:256: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:267: error: non-member function 'void boost::polygon::get_directions(boost::polygon::direction_3d&, boost::polygon::direction_3d&, boost::polygon::direction_3d&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp: In function 'void boost::polygon::get_directions(boost::polygon::direction_3d&, boost::polygon::direction_3d&, boost::polygon::direction_3d&)':

..../include/boost/polygon/transform.hpp:268: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:307: error: non-member function 'void boost::polygon::transform(coordinate_type&, coordinate_type&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:311: error: non-member function 'void boost::polygon::transform(coordinate_type&, coordinate_type&, coordinate_type&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:317: error: non-member function 'boost::polygon::axis_transformation boost::polygon::inverse_2d()' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:323: error: non-member function 'boost::polygon::axis_transformation boost::polygon::inverse()' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:328: error: expected unqualified-id before 'private'

..../include/boost/polygon/transform.hpp:371: error: 'orientation_3d' has not been declared

..../include/boost/polygon/transform.hpp:372: error: 'orientation_2d' has not been declared

..../include/boost/polygon/transform.hpp:372: error: 'scale_factor_type boost::anisotropic_scale_factor<scale_factor_type>::get(int) const' cannot be overloaded

..../include/boost/polygon/transform.hpp:371: error: with 'scale_factor_type boost::anisotropic_scale_factor<scale_factor_type>::get(int) const'

..../include/boost/polygon/transform.hpp:375: error: 'orientation_3d' has not been declared

..../include/boost/polygon/transform.hpp:376: error: 'orientation_2d' has not been declared

..../include/boost/polygon/transform.hpp:376: error: 'void boost::anisotropic_scale_factor<scale_factor_type>::set(int, scale_factor_type)' cannot be overloaded

..../include/boost/polygon/transform.hpp:375: error: with 'void boost::anisotropic_scale_factor<scale_factor_type>::set(int, scale_factor_type)'

..../include/boost/polygon/transform.hpp:392: error: expected ';' before '(' token

..../include/boost/polygon/transform.hpp: In member function 'scale_factor_type boost::anisotropic_scale_factor<scale_factor_type>::get(int) const':

..../include/boost/polygon/transform.hpp:372: error: there are no arguments to 'orientation_3d' that depend on a template parameter, so a declaration of 'orientation_3d' must be available

..../include/boost/polygon/transform.hpp:372: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

..../include/boost/polygon/transform.hpp: In member function 'void boost::anisotropic_scale_factor<scale_factor_type>::set(int, scale_factor_type)':

..../include/boost/polygon/transform.hpp:376: error: there are no arguments to 'orientation_3d' that depend on a template parameter, so a declaration of 'orientation_3d' must be available

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:421: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:422: error: 'axis_transformation' has not been declared

..../include/boost/polygon/transform.hpp:422: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:426: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:428: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:447: error: 'axis_transformation' does not name a type

..../include/boost/polygon/transform.hpp:450: error: expected ',' or '...' before '&' token

..../include/boost/polygon/transform.hpp:472: error: 'direction_2d' has not been declared

..../include/boost/polygon/transform.hpp:473: error: 'direction_2d' has not been declared

..../include/boost/polygon/transform.hpp:476: error: 'direction_3d' has not been declared

..../include/boost/polygon/transform.hpp:477: error: 'direction_3d' has not been declared

..../include/boost/polygon/transform.hpp:478: error: 'direction_3d' has not been declared

..../include/boost/polygon/transform.hpp:482: error: 'axis_transformation' does not name a type

..../include/boost/polygon/transform.hpp:483: error: expected ';' before '<' token

..../include/boost/polygon/transform.hpp:486: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:486: error: expected primary-expression before 'p'

..../include/boost/polygon/transform.hpp:486: error: 'point_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:486: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp:488: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:488: error: expected primary-expression before 'p'

..../include/boost/polygon/transform.hpp:488: error: 'point_3d_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:488: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp:490: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:490: error: expected primary-expression before 'rp'

..../include/boost/polygon/transform.hpp:490: error: expected primary-expression before 'dp'

..../include/boost/polygon/transform.hpp:490: error: 'point_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:490: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp:492: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:492: error: expected primary-expression before 'rp'

..../include/boost/polygon/transform.hpp:492: error: expected primary-expression before 'dp'

..../include/boost/polygon/transform.hpp:492: error: 'point_3d_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:492: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp: In member function 'void boost::transformation<coordinate_type>::get_directions(int&, int&) const':

..../include/boost/polygon/transform.hpp:474: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: In member function 'void boost::transformation<coordinate_type>::get_directions(int&, int&, int&) const':

..../include/boost/polygon/transform.hpp:479: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:498: error: expected declaration before '}' token

gmake: *** [accessors/shapes/Polygon.o] Error 1

gmake: *** Waiting for unfinished jobs....

In file included from ..../include/boost/polygon/polygon.hpp:24,

                 from /export/home/chris/titan/src/common/accessors/shapes/Polygon.h:18,

                 from accessors/alarms/ShipRule.h:20,

                 from accessors/alarms/ShipRule.cc:8:

..../include/boost/polygon/transform.hpp:147: error: expected identifier before numeric constant

..../include/boost/polygon/transform.hpp:147: error: expected `}' before numeric constant

..../include/boost/polygon/transform.hpp:147: error: expected unqualified-id before numeric constant

..../include/boost/polygon/transform.hpp:219: error: expected unqualified-id before ')' token

..../include/boost/polygon/transform.hpp:220: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:221: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:221: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:222: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:222: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:223: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:223: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:224: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:224: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:225: error: expected unqualified-id before 'const'

..../include/boost/polygon/transform.hpp:225: error: expected `)' before 'const'

..../include/boost/polygon/transform.hpp:228: error: 'boost::polygon::axis_transformation& boost::polygon::operator=(const boost::polygon::axis_transformation&)' must be a nonstatic member function

..../include/boost/polygon/transform.hpp:231: error: expected ',' or '...' before '&' token

..../include/boost/polygon/transform.hpp:231: error: 'boost::polygon::axis_transformation& boost::polygon::operator=(int)' must be a nonstatic member function

..../include/boost/polygon/transform.hpp:234: error: non-member function 'bool boost::polygon::operator==(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:234: error: 'bool boost::polygon::operator==(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:237: error: non-member function 'bool boost::polygon::operator!=(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:237: error: 'bool boost::polygon::operator!=(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:240: error: non-member function 'bool boost::polygon::operator<(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:240: error: 'bool boost::polygon::operator<(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:243: error: non-member function 'boost::polygon::axis_transformation boost::polygon::operator+(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:246: error: 'boost::polygon::axis_transformation& boost::polygon::operator+=(const boost::polygon::axis_transformation&)' must take exactly two arguments

..../include/boost/polygon/transform.hpp:250: error: non-member function 'void boost::polygon::populate_axis_array(boost::polygon::INDIVIDUAL_AXIS*)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:255: error: non-member function 'void boost::polygon::get_directions(boost::polygon::direction_2d&, boost::polygon::direction_2d&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp: In function 'void boost::polygon::get_directions(boost::polygon::direction_2d&, boost::polygon::direction_2d&)':

..../include/boost/polygon/transform.hpp:256: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:267: error: non-member function 'void boost::polygon::get_directions(boost::polygon::direction_3d&, boost::polygon::direction_3d&, boost::polygon::direction_3d&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp: In function 'void boost::polygon::get_directions(boost::polygon::direction_3d&, boost::polygon::direction_3d&, boost::polygon::direction_3d&)':

..../include/boost/polygon/transform.hpp:268: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:307: error: non-member function 'void boost::polygon::transform(coordinate_type&, coordinate_type&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:311: error: non-member function 'void boost::polygon::transform(coordinate_type&, coordinate_type&, coordinate_type&)' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:317: error: non-member function 'boost::polygon::axis_transformation boost::polygon::inverse_2d()' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:323: error: non-member function 'boost::polygon::axis_transformation boost::polygon::inverse()' cannot have cv-qualifier

..../include/boost/polygon/transform.hpp:328: error: expected unqualified-id before 'private'

..../include/boost/polygon/transform.hpp:371: error: 'orientation_3d' has not been declared

..../include/boost/polygon/transform.hpp:372: error: 'orientation_2d' has not been declared

..../include/boost/polygon/transform.hpp:372: error: 'scale_factor_type boost::anisotropic_scale_factor<scale_factor_type>::get(int) const' cannot be overloaded

..../include/boost/polygon/transform.hpp:371: error: with 'scale_factor_type boost::anisotropic_scale_factor<scale_factor_type>::get(int) const'

..../include/boost/polygon/transform.hpp:375: error: 'orientation_3d' has not been declared

..../include/boost/polygon/transform.hpp:376: error: 'orientation_2d' has not been declared

..../include/boost/polygon/transform.hpp:376: error: 'void boost::anisotropic_scale_factor<scale_factor_type>::set(int, scale_factor_type)' cannot be overloaded

..../include/boost/polygon/transform.hpp:375: error: with 'void boost::anisotropic_scale_factor<scale_factor_type>::set(int, scale_factor_type)'

..../include/boost/polygon/transform.hpp:392: error: expected ';' before '(' token

..../include/boost/polygon/transform.hpp: In member function 'scale_factor_type boost::anisotropic_scale_factor<scale_factor_type>::get(int) const':

..../include/boost/polygon/transform.hpp:372: error: there are no arguments to 'orientation_3d' that depend on a template parameter, so a declaration of 'orientation_3d' must be available

..../include/boost/polygon/transform.hpp:372: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

..../include/boost/polygon/transform.hpp: In member function 'void boost::anisotropic_scale_factor<scale_factor_type>::set(int, scale_factor_type)':

..../include/boost/polygon/transform.hpp:376: error: there are no arguments to 'orientation_3d' that depend on a template parameter, so a declaration of 'orientation_3d' must be available

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:421: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:422: error: 'axis_transformation' has not been declared

..../include/boost/polygon/transform.hpp:422: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:426: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:428: error: expected `)' before 'atr'

..../include/boost/polygon/transform.hpp:447: error: 'axis_transformation' does not name a type

..../include/boost/polygon/transform.hpp:450: error: expected ',' or '...' before '&' token

..../include/boost/polygon/transform.hpp:472: error: 'direction_2d' has not been declared

..../include/boost/polygon/transform.hpp:473: error: 'direction_2d' has not been declared

..../include/boost/polygon/transform.hpp:476: error: 'direction_3d' has not been declared

..../include/boost/polygon/transform.hpp:477: error: 'direction_3d' has not been declared

..../include/boost/polygon/transform.hpp:478: error: 'direction_3d' has not been declared

..../include/boost/polygon/transform.hpp:482: error: 'axis_transformation' does not name a type

..../include/boost/polygon/transform.hpp:483: error: expected ';' before '<' token

..../include/boost/polygon/transform.hpp:486: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:486: error: expected primary-expression before 'p'

..../include/boost/polygon/transform.hpp:486: error: 'point_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:486: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp:488: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:488: error: expected primary-expression before 'p'

..../include/boost/polygon/transform.hpp:488: error: 'point_3d_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:488: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp:490: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:490: error: expected primary-expression before 'rp'

..../include/boost/polygon/transform.hpp:490: error: expected primary-expression before 'dp'

..../include/boost/polygon/transform.hpp:490: error: 'point_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:490: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp:492: error: 'axis_transformation' was not declared in this scope

..../include/boost/polygon/transform.hpp:492: error: expected primary-expression before 'rp'

..../include/boost/polygon/transform.hpp:492: error: expected primary-expression before 'dp'

..../include/boost/polygon/transform.hpp:492: error: 'point_3d_concept' was not declared in this scope

..../include/boost/polygon/transform.hpp:492: error: variable or field 'construct_dispatch' declared void

..../include/boost/polygon/transform.hpp: In member function 'void boost::transformation<coordinate_type>::get_directions(int&, int&) const':

..../include/boost/polygon/transform.hpp:474: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: In member function 'void boost::transformation<coordinate_type>::get_directions(int&, int&, int&) const':

..../include/boost/polygon/transform.hpp:479: error: 'atr_' was not declared in this scope

..../include/boost/polygon/transform.hpp: At global scope:

..../include/boost/polygon/transform.hpp:498: error: expected declaration before '}' token

gmake: *** [accessors/alarms/ShipRule.o] Error 1

 

Thanks

Chris Stylianou

_______________________________________________________________

borwell

Description: Description: Description: Description: finalist_logo - email sig

Malvern Hills Science Park

Geraldine Road

Malvern

England

WR14 3SZ

 

t: +44 (0)1684 585240

e: chris@borwell.com

w: www.borwell.com

 

"Making IT work for you"

 

P Please consider the environment before printing this email

_______________________________________________________________

 

From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Simonson, Lucanus J
Sent: 23 March 2011 16:03
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Boost::Polygon issue with including in project

 

Is line 147 of transform.hpp your first syntax error?  Can you attach the complete listing of syntax errors generated as well as the compiler you are using?  Also, which version of boost are you using?

 

Thanks,
Luke

 


From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Chris Stylianou
Sent: Wednesday, March 23, 2011 3:49 AM
To: boost-users@lists.boost.org
Subject: [Boost-users] Boost::Polygon issue with including in project

I’m having an issue trying to use Boost::Polygon, I’ve added boost/polygon/polygon.hpp but when I try to compile I get:

 

boost/polygon/transform.hpp:147: error: expected identifier before numeric constant

boost/polygon/transform.hpp:147: error: expected `}' before numeric constant

boost/polygon/transform.hpp:147: error: expected unqualified-id before numeric constant

boost/polygon/transform.hpp:219: error: expected unqualified-id before ')' token

boost/polygon/transform.hpp:220: error: expected `)' before 'atr'

boost/polygon/transform.hpp:221: error: expected unqualified-id before 'const'

boost/polygon/transform.hpp:221: error: expected `)' before 'const'

boost/polygon/transform.hpp:222: error: expected unqualified-id before 'const'

boost/polygon/transform.hpp:222: error: expected `)' before 'const'

boost/polygon/transform.hpp:223: error: expected unqualified-id before 'const'

boost/polygon/transform.hpp:223: error: expected `)' before 'const'

boost/polygon/transform.hpp:224: error: expected unqualified-id before 'const'

boost/polygon/transform.hpp:224: error: expected `)' before 'const'

boost/polygon/transform.hpp:225: error: expected unqualified-id before 'const'

boost/polygon/transform.hpp:225: error: expected `)' before 'const'

boost/polygon/transform.hpp:228: error: 'boost::polygon::axis_transformation& boost::polygon::operator=(const boost::polygon::axis_transformation&)' must be a nonstatic member function

boost/polygon/transform.hpp:231: error: expected ',' or '...' before '&' token

boost/polygon/transform.hpp:231: error: 'boost::polygon::axis_transformation& boost::polygon::operator=(int)' must be a nonstatic member function

boost/polygon/transform.hpp:234: error: non-member function 'bool boost::polygon::operator==(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

boost/polygon/transform.hpp:234: error: 'bool boost::polygon::operator==(const boost::polygon::axis_transformation&)' must take exactly two arguments

boost/polygon/transform.hpp:237: error: non-member function 'bool boost::polygon::operator!=(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

boost/polygon/transform.hpp:237: error: 'bool boost::polygon::operator!=(const boost::polygon::axis_transformation&)' must take exactly two arguments

boost/polygon/transform.hpp:240: error: non-member function 'bool boost::polygon::operator<(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

boost/polygon/transform.hpp:240: error: 'bool boost::polygon::operator<(const boost::polygon::axis_transformation&)' must take exactly two arguments

boost/polygon/transform.hpp:243: error: non-member function 'boost::polygon::axis_transformation boost::polygon::operator+(const boost::polygon::axis_transformation&)' cannot have cv-qualifier

boost/polygon/transform.hpp:246: error: 'boost::polygon::axis_transformation& boost::polygon::operator+=(const boost::polygon::axis_transformation&)' must take exactly two arguments

boost/polygon/transform.hpp:250: error: non-member function 'void boost::polygon::populate_axis_array(boost::polygon::INDIVIDUAL_AXIS*)' cannot have cv-qualifier

boost/polygon/transform.hpp:255: error: non-member function 'void boost::polygon::get_directions(boost::polygon::direction_2d&, boost::polygon::direction_2d&)' cannot have cv-qualifier

boost/polygon/transform.hpp: In function 'void boost::polygon::get_directions(boost::polygon::direction_2d&, boost::polygon::direction_2d&)':

……..etc …….

 

Thanks

Chris