Re: [eigen] [Eigen] SSE may cause linker error on VS.net

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


Ah, I see, these functions are of the form

template<> EIGEN_DONT_INLINE.

see in arch/SSE/MathFunctions.h

Should we make them static?

Cheers,
Benoit


2009/4/22 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> bah, we forgot another 'inline' keyword somewhere?
>
> which symbols exactly does the linker complain about? (yes i'm too
> lazy to try myself :p )
>
> Benoit
>
> 2009/4/22 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
>> Hi,
>>
>> the attached example causes a linker error, when SSE is enabled. The
>> problem is that object code for specializations in MathFunctions.h
>> is generated in UnitA and UnitB from the attached example.
>>
>> Does anybody have any easy solutions to fix this?
>>
>> Btw, to reproduce the problem you have to make sure SSE is actually used.
>>
>> Regards,
>> Hauke
>>
>



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