Opened 19 months ago

Last modified 16 months ago

#13032 new Bugs

qvm/mat.hpp fails to compile when assign/list_of.hpp has been included first

Reported by: Michael Krause <m.krause@…> Owned by: Barend Gehrels
Milestone: To Be Determined Component: geometry
Version: Boost 1.64.0 Severity: Problem
Keywords: Cc: daniel.kruegler@…

Description

Following program:

#include "boost/assign/list_of.hpp"
#include "boost/geometry/strategies/transform/matrix_transformers.hpp"

fails to compile with g++-6.1.0, giving the error

/home/krausemi/xxxx-boost/1.64/include/boost/qvm/mat.hpp: In member function ‘boost::qvm::mat<T, Rows, Cols>::operator R() const’:
/home/krausemi/xxxx-boost/1.64/include/boost/qvm/mat.hpp:28:23: error: expected primary-expression before ‘(’ token
                 assign(r,*this);
                       ^

Change History (3)

comment:1 Changed 19 months ago by daniel.kruegler@…

Cc: daniel.kruegler@… added

comment:2 Changed 17 months ago by John Maddock

Component: Nonegeometry
Owner: set to Barend Gehrels

comment:3 Changed 16 months ago by fettinge@…

Is this fixed by

https: github.com/boostorg/qvm/commit/5209c985d843a52e428a497f9fb740e1741c86d4 ?

The subject sounds like it, but the patch is really large so I'm not certain.

Note: See TracTickets for help on using tickets.