I originally hired someone to code a dll for me and I was using the compiled dll he gave me, but it has a msgbox popup that I needed to remove. So I removed that from the code and went to recompile. His code needed the QtCore library, so I downloaded that and installed it. But in that library I get a lot of errors, all the errors are syntax error : <cv-qualifer>
I googled syntax error : <cv-qualifer> but it seems its a pretty common error.
Every line that has that error starts with ” asm volatile(“
I assume asm is assembly? Am I missing something I need to compile that?
Any help would be greatly appreciated.
Thanks
EDIT:
Complete error code: error C2059: syntax error : ”
Here is the source where it occurs once. Everytime it happens it starts with asm volatile
asm volatile("0:\n"
"ldrex %[result], [%[_q_value]]\n"
"eors %[result], %[result], %[expectedValue]\n"
"strexeq %[result], %[newValue], [%[_q_value]]\n"
"teqeq %[result], #1\n"
"beq 0b\n"
: [result] "=&r" (result),
"+m" (_q_value)
: [expectedValue] "r" (expectedValue),
[newValue] "r" (newValue),
[_q_value] "r" (&_q_value)
: "cc", "memory");
You have QT as source for ARM there. Are you building for ARM? Do you need to build QT from source?