[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: freecad, FTBFS on Armel:



+++ Anton Gladky [2011-10-26 23:57 +0200]:
> Hi all,
> 
> there is a strange FTBFS only on Armel platform [1].
> 
> ==============================================
> Rn.h:217:23: error: 'R2' does not name a type
> ......
> ==============================================
> 
> 
> But Rn.h:89 has [2]:
> ==============================================
> class R2
> {
> .....
> }
> ==============================================
> 
> Why does it happens, and only on Armel?

Firstly well done for packaging freecad - It was on my list of things
to do - I'm glad someone elase has done it :-)

The problem here is that 'R2' is an arm register name. (We have R0-R15
for the main 16 CPU registers).

So there is a namespace clash. Changing the classname in freeCAD is the
most obvious way to fix it. There are probably other possibilities.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/


Reply to: