Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 687
    • Issues 687
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #218
Closed
Open
Issue created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

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

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking