Language
C++
Compiler
gcc 9.3.0
Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-9.3.0/include -std=gnu++2a
tak się tego nie robi!!!!
Exit Code:
0
Author
anonymous
almost 5 years ago
C++
gcc 9.3.0
Author
anonymous
almost 5 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-9.3.0/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:16:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
16 | crap_string foo { 22, "tak się tego nie robi!!!!"};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
tak się tego nie robi!!!!