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 20:14:08 +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=1RIrt/6ZU7dbBjN0Ba8pzEGOlhZXIhZBt6UDeYWHnuU=; b=nkhDC/7YpwtCQ6rTBMeeKUMeE9nQg3noFSnhV9gUogJ3YjI/E+X+fTl0ScyDmCRJiq X9Ek91V6O5HyPuAtOUTJ96Z5QJenpExa1k/5k157Q63bESUFEpsGB2cSdByce8vdnolT c3htGa+OTJk+ciajecRbaz1/dlUNiftHGXFaI=
- 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=cGFin5fbr/Tf6S6jIhPyrjLD2dyXHKTqkMhS/zZ2sUqD26h8fH8GA4iXDRor9qSp/1 OspAh/eq0tAhn+mVeUZP6zlnRRqPvdgcuL/HHurDE0fw7J35xXbTBd+6z+S23pl6AjMD 80TP2CJ/ZuB+gij8DdrbcYe3A+dA8Efkrw2qA=
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;
>>>
>>>> }
>>>
>>
>>
>>
>
>
>