This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 507 - Annoying warnings with EIGEN_NO_AUTOMATIC_RESIZING and gcc 4.6.3
Summary: Annoying warnings with EIGEN_NO_AUTOMATIC_RESIZING and gcc 4.6.3
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.1
Hardware: All Linux
: Lowest minor
Assignee: Desire NUENTSA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 22:16 UTC by Felipe
Modified: 2019-12-04 11:52 UTC (History)
3 users (show)



Attachments
compiler output (4.50 KB, text/plain)
2012-09-04 22:16 UTC, Felipe
no flags Details

Description Felipe 2012-09-04 22:16:52 UTC
Created attachment 293 [details]
compiler output

in this simple program:

// test.cpp
#define EIGEN_NO_AUTOMATIC_RESIZING
#define EIGEN_NO_DEBUG
#include <Eigen/Core>

int main()
{
  Eigen::MatrixXd Aloc = Eigen::MatrixXd::Zero(3, 3);
}
// end file

compiled with

g++ -Wall -Wextra test.cpp -I$EIGEN_DIR -o test

one shows some annoying/weird warnings, see attached file.

os: Ubuntu
gcc 4.6.3
eigen 3.1.1
Comment 1 Desire NUENTSA 2012-09-10 10:29:56 UTC
The warning is just about unused variable other which should be used during assertions. Assertions are not called when EIGEN_NO_DEBUG or NDEBUG flags are defined.
Comment 3 Nobody 2019-12-04 11:52:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/507.

Note You need to log in before you can comment on or make changes to this bug.