This bugzilla service is closed. All entries have been migrated to
Bug 1067 - name conflict: IsRowMajor in GeneralProduct<Lhs,Rhs,OuterProduct>
Summary: name conflict: IsRowMajor in GeneralProduct<Lhs,Rhs,OuterProduct>
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.2
Hardware: All All
: Normal Compilation Problem
Assignee: Nobody
Depends on:
Reported: 2015-09-18 03:58 UTC by thduynguyen
Modified: 2019-12-04 14:55 UTC (History)
3 users (show)


Description thduynguyen 2015-09-18 03:58:36 UTC
IsRowMajor is an enum value defined in DenseBase. However, in the template specialization of GeneralProduct<Lhs,Rhs,OuterProduct>, derived from ProductBase<--MatrixBase<--DenseBase, another struct is defined with the same name IsRowMajor. This causes a compilation error in Assign_MKL.h, line 51 when MKL is enabled: 
Eigen/Eigen/src/Core/Assign_MKL.h:51:50: error: dependent-name ‘Src:: IsRowMajor’ is parsed as a non-type, but instantiation yields a type
       StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)),
Changing the struct's name seems to fix the problem.
Comment 1 Gael Guennebaud 2015-09-19 19:46:36 UTC
Thank you for the report.

Comment 2 Nobody 2019-12-04 14:55:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to'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:

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