C++ 交叉编译器错误:引用';m#U memoryManager';不能贴花';可变的';[-fpermissive]
我正在为Arm11编译并使用xalanc。我得到了一堆这样的东西:C++ 交叉编译器错误:引用';m#U memoryManager';不能贴花';可变的';[-fpermissive],c++,gcc,cross-compiling,xalan,C++,Gcc,Cross Compiling,Xalan,我正在为Arm11编译并使用xalanc。我得到了一堆这样的东西: 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
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
有什么想法吗
使用GCC4.7进行编辑这似乎是一个错误。您需要修改Xerces\u autoconf\u config.hpp来解决它。这似乎是一个问题。你需要修改Xerces\u autoconf\u config.hpp来解决这个问题。引用是不可变的。这是否意味着它是xalanc源中的一个bug?引用是不可变的。这是否意味着它是xalanc源中的bug?