Language
C++
Compiler
clang 4.0.0
Options
Warnings
Boost 1.68.0
C++14
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-4.0.0/include -std=c++14
2
#
#
#
--11
#
#
--2--32
#
#
#
--43
#
#
#
#
--52
#
#
#
--6
Exit Code:
0
Author
anonymous
over 6 years ago
C++
clang 4.0.0
Author
anonymous
over 6 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-4.0.0/include -std=c++14
prog.cc:53:23: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
for (int i = 1; i <= histogram.size(); ++i)
~ ^ ~~~~~~~~~~~~~~~~
1 warning generated.
2
#
#
#
--11
#
#
--2--32
#
#
#
--43
#
#
#
#
--52
#
#
#
--6