Compiler output
prog.cpp: In function 'void gensubset(int)':
prog.cpp:15:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < v.size())
^
prog.cpp:25:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (long int i = 0; i < v.size(); ++i)
^
prog.cpp:33:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (long int i = 0; i < v.size(); ++i)
^
prog.cpp:40:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (long int i = 0; i < v.size(); ++i)
^