foo.cc: In function 'void gets1(int)':
foo.cc:22:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
22 | scanf("%s", &inpp);
| ~^ ~~~~~
| | |
| | char (*)[100005]
| char*
foo.cc: In function 'void gets2(int)':
foo.cc:33:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
33 | scanf("%s", &inpp);
| ~^ ~~~~~
| | |
| | char (*)[100005]
| char*
foo.cc: In function 'void dontcg1(int)':
foo.cc:41:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
41 | scanf("%s", &inpp);
| ~^ ~~~~~
| | |
| | char (*)[100005]
| char*
foo.cc: In function 'void dontcg2(int)':
foo.cc:62:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
62 | scanf("%s", &inpp);
| ~^ ~~~~~
| | |
| | char (*)[100005]
| char*
foo.cc:76:21: warning: statement has no effect [-Wunused-value]
76 | spb == false;
| ~~~~^~~~~~~~
foo.cc:79:21: warning: statement has no effect [-Wunused-value]
79 | spb == false;
| ~~~~^~~~~~~~