[go: up one dir, main page]

Compiler warning: enum-compare in Transform.h with gcc4.7

Submitted by sh3..@..il.com

Assigned to Nobody

Link to original bugzilla bug (#477)
Version: 3.1

Description

The declaration of an affine transformation

Eigen::Affine3f T;

produces the following warning on gcc4.7

Eigen/src/Geometry/Transform.h: In instantiation of 'struct Eigen::internal::transform_traits<Eigen::Transform<float, 3, 2> >':
Eigen/src/Geometry/Transform.h:415:3: required from 'class Eigen::Transform<float, 3, 2>'
Eigen/src/Geometry/Transform.h:38:3: warning: comparison between 'enum Eigen::Transform<float, 3, 2>::<anonymous>' and 'enum Eigen::TransformTraits' [-Wenum-compare]

Edited by Eigen Bugzilla