Language
C++
Compiler
gcc HEAD 9.0.1 20190312 (experimental)
Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=gnu++2a
Elapsed time 1758.75 ms
Exit Code:
0
Author
anonymous
about 6 years ago
C++
gcc HEAD 9.0.1 20190312 (experimental)
Author
anonymous
about 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:71:14: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
71 | if (v[i] != i + 1) {
Elapsed time 1758.75 ms