Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.4.1
-
None
-
Debian testing amd64, KF5, with gcc-6, gcc-7 and clang-5.0 packages installed.
Description
The following code:
#include <sstream>
int main() {
std::stringstream sstr;
sstr << "Hello, World!\n"
}
is marked as an error (full message is attached):
Semantic Issue
5:10: error: invalid operands to binary expression ('std::stringstream' (aka 'basic_stringstream<char>') and 'const char *')
...
However it compiles without any errors.