Compiler warning C4181: qualifier applied to reference type; ignored
Submitted by mai..@..mx.net
Assigned to Nobody
Link to original bugzilla bug (#218)
Version: 3.0
Operating system: Windows
Description
Created attachment 129
compiler output with warnings
With Microsoft Visual Studio 2008 and Eigen 3.0-beta4, I get the the mentioned warning (see attached compiler output). My code is pretty unsuspicious and it compiled without warnings with Eigen 3.0-beta3.
This is the affected file (with line numbers):
utility.cpp
[...]
655: Vector4f V = es.eigenvectors().col(0).real();
656: Quaternionf quat(V.x(), V.y(), V.z(), V.w());
[...]
815: Vector3f dir(direction);
816: dir.normalize();
817: Vector3f z(0.f, 0.f, 1.f);
818: Vector3f axis = z.cross(dir);
Attachment 129, "compiler output with warnings":
compilerOutput.txt