Re: [eigen] GCC-4.6 compilation problem + patch

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Separate bug indeed; looks like a bug in the test. It's useful to file
a bug about it.
Benoit

2011/5/6 Anton Gladky <gladky.anton@xxxxxxxxx>:
>> Anton, can you check this is ok for you, too ?
>
> Hmm, I don't know, it can be another bug:
>
> [ 74%] Building CXX object
> test/CMakeFiles/stdvector_overload_1.dir/stdvector_overload.cpp.o
> cd /tmp/buildd/eigen3-3.0.0/debian/build/test && /usr/bin/c++
> -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -g -O2  -Wnon-virtual-dtor
> -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wwrite-strings -Wformat-security -fexceptions
> -fno-check-new -fno-common -fstrict-aliasing -Wno-variadic-macros
> -Wextra -pedantic  -g2 -g0 -O2  -fno-inline-functions
> -I/tmp/buildd/eigen3-3.0.0/debian/build/test
> -I/tmp/buildd/eigen3-3.0.0/test -I/tmp/buildd/eigen3-3.0.0
> -I/tmp/buildd/eigen3-3.0.0/debian/build
> -DEIGEN_TEST_FUNC=stdvector_overload  -DEIGEN_TEST_PART_1=1 -o
> CMakeFiles/stdvector_overload_1.dir/stdvector_overload.cpp.o -c
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:31:1: error:
> partial specialization of 'std::vector<Eigen::Matrix<float, 4, 1>,
> _Ay>' after instantiation of 'std::vector<Eigen::Matrix<float, 4, 1>,
> Eigen::aligned_allocator_indirection<Eigen::Matrix<float, 4, 1> > >'
> [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:33:1: error:
> partial specialization of 'std::vector<Eigen::Matrix<float, 2, 2>,
> _Ay>' after instantiation of 'std::vector<Eigen::Matrix<float, 2, 2>,
> Eigen::aligned_allocator_indirection<Eigen::Matrix<float, 2, 2> > >'
> [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:34:1: error:
> partial specialization of 'std::vector<Eigen::Matrix<float, 4, 4>,
> _Ay>' after instantiation of 'std::vector<Eigen::Matrix<float, 4, 4>,
> Eigen::aligned_allocator_indirection<Eigen::Matrix<float, 4, 4> > >'
> [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:35:1: error:
> partial specialization of 'std::vector<Eigen::Matrix<double, 4, 4>,
> _Ay>' after instantiation of 'std::vector<Eigen::Matrix<double, 4, 4>,
> Eigen::aligned_allocator_indirection<Eigen::Matrix<double, 4, 4> > >'
> [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:37:1: error:
> partial specialization of 'std::vector<Eigen::Transform<float, 3, 2>,
> _Ay>' after instantiation of 'std::vector<Eigen::Transform<float, 3,
> 2>, Eigen::aligned_allocator_indirection<Eigen::Transform<float, 3, 2>
>> >' [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:38:1: error:
> partial specialization of 'std::vector<Eigen::Transform<double, 3, 2>,
> _Ay>' after instantiation of 'std::vector<Eigen::Transform<double, 3,
> 2>, Eigen::aligned_allocator_indirection<Eigen::Transform<double, 3,
> 2> > >' [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:40:1: error:
> partial specialization of 'std::vector<Eigen::Quaternion<float>, _Ay>'
> after instantiation of 'std::vector<Eigen::Quaternion<float>,
> Eigen::aligned_allocator_indirection<Eigen::Quaternion<float> > >'
> [-fpermissive]
> /tmp/buildd/eigen3-3.0.0/test/stdvector_overload.cpp:41:1: error:
> partial specialization of 'std::vector<Eigen::Quaternion<double>,
> _Ay>' after instantiation of 'std::vector<Eigen::Quaternion<double>,
> Eigen::aligned_allocator_indirection<Eigen::Quaternion<double> > >'
> [-fpermissive]
> make[5]: *** [test/CMakeFiles/stdvector_overload_1.dir/stdvector_overload..cpp.o]
> Error 1
> make[5]: Leaving directory `/tmp/buildd/eigen3-3.0.0/debian/build'
> make[4]: *** [test/CMakeFiles/stdvector_overload_1.dir/all] Error 2
> make[4]: Leaving directory `/tmp/buildd/eigen3-3.0.0/debian/build'
> make[3]: *** [CMakeFiles/check.dir/rule] Error 2
> make[3]: Leaving directory `/tmp/buildd/eigen3-3.0.0/debian/build'
> make[2]: *** [check] Error 2
> make[2]: Leaving directory `/tmp/buildd/eigen3-3.0.0/debian/build'
> make[1]: Leaving directory `/tmp/buildd/eigen3-3.0.0'
>
>
>
>
>
> On Thu, May 5, 2011 at 6:49 PM, Thomas Capricelli <orzel@xxxxxxxxxxxxxxx> wrote:
>>
>> ok, done.
>>
>> Anton, can you check this is ok for you, too ?
>>
>> regrads,
>>
>> --
>>
>> Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>
>>
>> http://www.freehackers.org/thomas
>>
>> On Thursday 05 May 2011 14:06:13 Benoit Jacob wrote:
>>
>>> ptrdiff_t is a very common thing to use so I doubt that we will think
>>
>>> about adding std:: everytime. I would suggest doing like we do for
>>
>>> size_t, that is (in Eigen/Core i  think):
>>
>>>
>>
>>> namespace Eigen {
>>
>>>  using std::ptrdiff_t;
>>
>>> }
>>
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/