main.c|3|warning: ‘struct c’ declared inside parameter list|
main.c|3|warning: its scope is only this definition or declaration, which is probably not what you want|
main.c|14|error: return type defaults to ‘int’|
main.c||In function ‘main’:|
main.c|23|warning: format ‘%7d’ expects type ‘int *’, but argument 2 has type ‘long int *’|
main.c|23|warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[7]’|
main.c|23|warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘char (*)[20]’|
main.c|23|warning: unknown conversion type character ‘.’ in format|
main.c|23|warning: unknown conversion type character ‘.’ in format|
main.c|23|warning: too many arguments for format|
main.c|28|error: passing argument 1 of ‘sort’ from incompatible pointer type|
main.c|3|note: expected ‘struct c *’ but argument is of type ‘struct c *’|
main.c|33|warning: unknown conversion type character ‘.’ in format|
main.c|33|warning: too many arguments for format|
main.c|35|warning: comparing floating point with == or != is unsafe|
main.c|42|warning: unknown conversion type character ‘.’ in format|
main.c|42|warning: too many arguments for format|
main.c|64|error: conflicting types for ‘sort’|
main.c|3|note: previous declaration of ‘sort’ was here|
main.c|76|warning: no previous declaration for ‘disccharge’|
main.c||In function ‘charge’:|
main.c|94|warning: comparing floating point with == or != is unsafe|
main.c|96|warning: comparing floating point with == or != is unsafe|
main.c||In function ‘disccharge’:|
main.c|88|warning: control reaches end of non-void function|
||=== Build finished: 5 errors, 17 warnings ===|