Opened 5 years ago

Last modified 5 years 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 by daniel.kruegler@…, 5 years ago

Cc: daniel.kruegler@… added

comment:2 by John Maddock, 5 years ago

Component: Nonegeometry
Owner: set to Barend Gehrels

comment:3 by fettinge@…, 5 years ago

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.