Language
C++
Compiler
clang 8.0.0
Options
Warnings
Boost 1.70.0
C++2a(GNU)
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/clang-8.0.0/include -std=gnu++2a
3
3
3
3
Exit Code:
0
Author
anonymous
over 5 years ago
C++
clang 8.0.0
Author
anonymous
over 5 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/clang-8.0.0/include -std=gnu++2a
prog.cc:59:14: warning: comparison of integers of different signs: 'int' and 'std::__1::vector<Vehicle, std::__1::allocator<Vehicle> >::size_type' (aka 'unsigned long') [-Wsign-compare]
for(int i=0;i<vehicles.size();i++)
~^~~~~~~~~~~~~~~~
1 warning generated.
3
3
3
3