/in/foo.cc: In function 'int main()':
/in/foo.cc:85:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
gets(a);
^~~~
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.cc:85:8: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.cc:102:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < vtStatResult.size(); j++)
~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:114:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == vtStatResult.size())
~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:124:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vtStatResult.size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~
/tmp/ccmHwoPj.o: In function `main':
foo.cc:(.text.startup+0x1d): warning: the `gets' function is dangerous and should not be used.