2013-05-13 46 views
1

我正在爲Arm11編譯並使用xalanc。我得到一堆這些:交叉編譯錯誤:引用'm_memoryManager'不能被decalred'mutable'[-fmissmiss]

In file included from /xx/include/xalanc/DOMSupport/DOMServices.hpp:39:0, 
from /xx/include/xalanc/XPath/XObject.hpp:39:43, 
from xy/MYxpath.cpp:7: 
/...xx/include/xalanc/PlatformSupport/XSLException.hpp:199:29: error : reference 'm_memoryManager' cannot be decalred 'mutable' [-fpermissive] 
make: *** [MyPath/MYxpath.arm-bcm2708hardfp-linux-gnueabi-gcc.Release.32.0] Error 1 

任何想法?

EDIT_使用GCC 4.7

+0

那麼,引用是不可變的。 – 2013-05-13 07:14:46

+0

這是否意味着它是xalanc源代碼中的錯誤? – tzippy 2013-05-13 07:25:56

回答

1

這似乎是一個​​。您需要修改Xerces_autoconf_config.hpp以解決此問題。