I'm trying to build qtCreator 2.3 with gcc 4.7 and I'm getting following error:
error: unable to find string literal operator ""
I'm using mingw32-make -lto
as qtCreator source dir. Any thoughts?
I'm trying to build qtCreator 2.3 with gcc 4.7 and I'm getting following error:
error: unable to find string literal operator ""
I'm using mingw32-make -lto
as qtCreator source dir. Any thoughts?
Just Googled this and saw the following comment on this page
The subject error occurs because in the new c++11 a space between string concatenation is mandatory
It may be related to what you're seeing.
#define TEST(Name) "TEST" Name"TEST"
but this is not: #define TEST(Name) "TEST"Name"TEST"
, so you have to have a space after the literal, but not before?! Oh well... Thanks, that fixed my problem! –
Aphra © 2022 - 2024 — McMap. All rights reserved.