Language
C++
Compiler
gcc 9.2.0
Options
Warnings
Boost 1.70.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-9.2.0/include -std=gnu++2a
Exit Code:
1
Author
anonymous
over 5 years ago
C++
gcc 9.2.0
Author
anonymous
over 5 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-9.2.0/include -std=gnu++2a
prog.cc:19:13: error: unterminated raw string
19 | #define STR R"(
| ^
prog.cc:23:2: warning: missing terminating " character
23 | )"
| ^
prog.cc:23:2: error: missing terminating " character
prog.cc:19:13: error: stray 'R' in program
19 | #define STR R"(
| ^~~
prog.cc:33:14: note: in expansion of macro 'STR'
33 | [[deprecated(STR)]]
| ^~~
prog.cc:20:1: error: 'Use' does not name a type
20 | Use this_func()
| ^~~
prog.cc: In function 'int main()':
prog.cc:38:5: error: 'test2' was not declared in this scope
38 | test2();
| ^~~~~