Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Boost 1.73.0
C++2a
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=c++2a
false
true
Exit Code:
0
Author
anonymous
over 4 years ago
C++
gcc 10.1.0
Author
anonymous
over 4 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=c++2a
prog.cc: In function 'int main()':
prog.cc:9:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
9 | std::cout << (n < m) << '\n';
| ~~^~~
false
true