[GXemul-devel] (no subject)
Status: Alpha
Brought to you by:
gavare
From: Fausto S. <fau...@gm...> - 2012-06-28 14:13:35
|
Hello, I'm trying to compile the latest svn version under Mac OS X, with Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.0 Thread model: posix but I have these errors: CPUDyntransComponent.cc:112:15: error: assigning to 'void (*)(CPUDyntransComponent *, DyntransIC *)' from incompatible type 'void (*)(CPUDyntransComponent *, DyntransIC *) const'; m_nextIC->f = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CPUDyntransComponent.cc:127:15: error: assigning to 'void (*)(CPUDyntransComponent *, DyntransIC *)' from incompatible type 'void (*)(CPUDyntransComponent *, DyntransIC *) const'; m_nextIC->f = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CPUDyntransComponent.cc:135:16: error: assigning to 'void (*)(CPUDyntransComponent *, DyntransIC *)' from incompatible type 'void (*)(CPUDyntransComponent *, DyntransIC *) const'; m_nextIC->f = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CPUDyntransComponent.cc:176:15: error: assigning to 'void (*)(CPUDyntransComponent *, DyntransIC *)' from incompatible type 'void (*)(CPUDyntransComponent *, DyntransIC *) const'; m_nextIC->f = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CPUDyntransComponent.cc:186:15: error: assigning to 'void (*)(CPUDyntransComponent *, DyntransIC *)' from incompatible type 'void (*)(CPUDyntransComponent *, DyntransIC *) const'; m_nextIC->f = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CPUDyntransComponent.cc:197:9: error: cannot initialize a variable of type 'void (*)(CPUDyntransComponent *, DyntransIC *)' with an rvalue of type 'void (*)(CPUDyntransComponent *, DyntransIC *) const' ...(*f)(CPUDyntransComponent*, DyntransIC*) = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CPUDyntransComponent.cc:428:9: error: assigning to 'void (*)(CPUDyntransComponent *, DyntransIC *)' from incompatible type 'void (*)(CPUDyntransComponent *, DyntransIC *) const'; ic->f = GetDyntransToBeTranslated(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. I suppose this is a compiler problem, with gcc is all fine. I'm not a c++ expert, so I don't know how to fix it. Do you have a patch for this ? thanks, Fausto |