Language
C++
Compiler
clang 10.0.0
Options
Warnings
Don't Use Boost
C++2a(GNU)
no pedantic
$ clang++ prog.cc -Wall -Wextra -std=gnu++2a
Exit Code:
0
Author
anonymous
almost 5 years ago
C++
clang 10.0.0
Author
anonymous
almost 5 years ago
$ clang++ prog.cc -Wall -Wextra -std=gnu++2a
prog.cc:13:16: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
cout << blah +" bytes";
~~~~~^~~~~~~~~
prog.cc:13:16: note: use array indexing to silence this warning
1 warning generated.