Re: [eigen] GCC-4.6 compilation problem + patch |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] GCC-4.6 compilation problem + patch
- From: Anton Gladky <gladky.anton@xxxxxxxxx>
- Date: Fri, 6 May 2011 13:35:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=E9/505Hr1E+46vpyIkpkItpSKRCGfbIvj0mVkJOlCi8=; b=El+6So0lnhxnRr8usYNUiCbmoIs/PmSxBCHWcyWY1END0JFYyA1EKElApD3a7Sexmx RO15iySVaXCno0hXRBwHOs0dibcF9hoHrSH39jUpHVlvgP/wNE3TfDEU3LdDID5A18xk 38vkvPIDGfZFslTCzqdfFVrJ1O8oGkfOef7LQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=OLzxcmPK9reYK/Vk/g0mVQv0Tl3kfTsbhapYWZyy70Vo7bFTGw5Jq8paKzMTXNVJZ3 uAJNrsZ2I+ctHsTWKoyq/FIKoIfk+W8xVuUol1c+7hHSEYBkdGCatSvkIJJ2vfbSngJx aie0ZKEVq+BfR7wcoif6eRmQMQwy41Nt37Vvs=
> 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;
>
>> }
>