This forum has been archived. All content is frozen. Please use KDE Discuss instead.

orthomethods.h

Tags: orthomethods.h orthomethods.h orthomethods.h
(comma "," separated)
Scolohofo
Registered Member
Posts
8
Karma
0
OS

orthomethods.h

Tue Oct 18, 2011 12:33 pm
Hi all!

I have a problem with orthomethods.h file. Compiler gives me warnings and say, that qualifier applied to reference type ignored. What can I do?

???
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: orthomethods.h

Tue Oct 18, 2011 4:08 pm
this warning seems to be harmless.
Scolohofo
Registered Member
Posts
8
Karma
0
OS

Re: orthomethods.h

Wed Oct 19, 2011 6:58 am
No is not, my program crashed. Debugger saing, that these problems with Unaligned Array Assert. I find page with information abt that on tuxfamily, but it doesn't working... Someone has a similar problem, doesn't?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: orthomethods.h

Wed Oct 19, 2011 7:05 am
it's hard to help without more information, please post the relevant piece of code. In the meantime, you can also simply disable stack alignment by compiling with:
-DEIGEN_DONT_ALIGN_STATICALLY
Scolohofo
Registered Member
Posts
8
Karma
0
OS

Re: orthomethods.h

Wed Oct 19, 2011 8:53 am
Ok! But in what place of my code I could insert DEIGEN_DONT_ALIGN_STATICALLY ?
Scolohofo
Registered Member
Posts
8
Karma
0
OS

Re: orthomethods.h

Wed Oct 19, 2011 10:36 am
Scolohofo wrote:Ok! But in what place of my code I could insert DEIGEN_DONT_ALIGN_STATICALLY ?
I insert this like define and it's doesn't work!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: orthomethods.h

Mon Oct 24, 2011 1:46 pm
the safest is to add -DEIGEN_DONT_ALIGN_STATICALLY to the compiler options, optionally you can #define EIGEN_DONT_ALIGN_STATICALLY *before* any Eigen's header.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]