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: Sat, 7 May 2011 06:58:43 +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=D6UdDyD6j2sa6q1HQ7r8LsAMYECZ+foBup0gjOMBawA=; b=VXt7okp9beuH1U3QLT2H5oJHMjFGCfftsPaotvCZ9nHcbSWoORnTeIqm/ev7H+xMqP BuHV/UGse7v1IYI4+ozNTNw9XXcAZ6ygSc0B3ETPnstMNKtt3M1962lMEy83ah4d4N99 5avAOt5OT/3L2L3sIQrFdA+eg5/qpCvhj8q6o=
- 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=Ct1LHM8D6aFAIVqRwWTb8YzpDZurC/Fq1Zmdw7ZqAfMyM+ooYOBRUp6bi29WRt01IV Y67Gmu95oAM9edAXJliew8ynkNYiAak6CGIuJ6Z7T38AfW+eriW0MxUadDWYzQL4NaiD A5DP5jvGDvq3Uh0p+NJbzbg+cK9yl8X4YfqoQ=
I have filed a bug #262 .
Actually, my patch is not working also. I was wrong in the previous post.
Anton
On Fri, May 6, 2011 at 8:14 PM, Anton Gladky <gladky.anton@xxxxxxxxx> wrote:
> Strange, but my patch is working normally...
> I will test some more.
>
> Anton
>
>
>
>
> On Fri, May 6, 2011 at 1:50 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> 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;
>>>>
>>>>> }
>>>>
>>>
>>>
>>>
>>
>>
>>
>