KDL compile error: typename used outside of template in kdlTypekitJntArray.cpp
Submitted by gah on Mon, 2012-04-02 18:46 |
It appears I can't compile kdl_typekit from rtt_geometry since commit 81e5fab6 to master. GCC complains about 'using typename outside of template' on lines 37, 67 and 68 of kdlTypekitJntArray.cpp.
Reverting the commit makes the typekit compile successfully again. Removing the 'typename' keyword works as well.
As I'm not intimately familiar with the source, I'm not sure what the correct course of action is.
KDL compile error: typename used outside of template in kdlTypek
2012/4/2 g ah <gaohml [..] ...>
>
>
> It appears I can't compile kdl_typekit from rtt_geometry since commit
> 81e5fab6 to master. GCC complains about 'using typename outside of
> template' on lines 37, 67 and 68 of kdlTypekitJntArray.cpp.
>
> Reverting the commit makes the typekit compile successfully again.
> Removing the 'typename' keyword works as well.
>
> As I'm not intimately familiar with the source, I'm not sure what the
> correct course of action is.
>
>
Which version of gcc are you using?
Ruben
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>
KDL compile error: typename used outside of template in kdlTypek
Ruben Smits wrote:
> 2012/4/2 g ah <gaohml [..] ...>
>> It appears I can't compile kdl_typekit from rtt_geometry since commit
>> 81e5fab6 to master. GCC complains about 'using typename outside of
>> template' on lines 37, 67 and 68 of kdlTypekitJntArray.cpp.
>>
>> Reverting the commit makes the typekit compile successfully again.
>> Removing the 'typename' keyword works as well.
>>
>> As I'm not intimately familiar with the source, I'm not sure what the
>> correct course of action is.
>>
>>
> Which version of gcc are you using?
I'm on ubuntu lucid with gcc 4.4.3-4ubuntu5.1
KDL compile error: typename used outside of template in kdlTypek
On Tue, Apr 3, 2012 at 9:07 AM, Ruben Smits <ruben [dot] smits [..] ...>wrote:
>
>
> 2012/4/2 g ah <gaohml [..] ...>
>
>>
>>
>> It appears I can't compile kdl_typekit from rtt_geometry since commit
>> 81e5fab6 to master. GCC complains about 'using typename outside of
>> template' on lines 37, 67 and 68 of kdlTypekitJntArray.cpp.
>>
>> Reverting the commit makes the typekit compile successfully again.
>> Removing the 'typename' keyword works as well.
>>
>>
I confirm that removing the typename keyword also works here, therefor I
removed it and pushed a fix to master:
commit 54398d0653067580edd5c5ec66bda5eac0aa29e4
Refs: master, <origin/HEAD>, <origin/master>
Author: Ruben Smits <ruben [dot] smits [..] ...>
AuthorDate: Tue Apr 3 09:27:07 2012 +0200
Commit: Ruben Smits <ruben [dot] smits [..] ...>
CommitDate: Tue Apr 3 09:27:07 2012 +0200
typekit: remove typename keyword
Signed-off-by: Ruben Smits <ruben [dot] smits [..] ...>
---
kdl_typekit/src/kdlTypekitJntArray.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Ruben
> As I'm not intimately familiar with the source, I'm not sure what the
>> correct course of action is.
>>
>>
> Which version of gcc are you using?
>
> Ruben
>
>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>>
>
>
> --
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu
>