Language
C++
Compiler
gcc HEAD 12.0.0 20210608 (experimental)
Options
Warnings
Boost 1.72.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-head/include -std=gnu++2a
XX
XX
XX
XX
XX
XX
XX
XX
XX
XX
Exit Code:
0
Author
anonymous
almost 4 years ago
C++
gcc HEAD 12.0.0 20210608 (experimental)
Author
anonymous
almost 4 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'void consolidatorServiceRoutine(std::vector<threadInfo>*, std::vector<std::vector<std::__cxx11::basic_string<char> > >*)':
prog.cc:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<threadInfo>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | if (mSize != metas->size()){
| ~~~~~~^~~~~~~~~~~~~~~~
prog.cc:55:103: warning: unused parameter 'buffer' [-Wunused-parameter]
55 | void consolidatorServiceRoutine(std::vector<threadInfo> *metas,std::vector<std::vector<std::string>> *buffer){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
XX
XX
XX
XX
XX
XX
XX
XX
XX
XX