ngc43.c:4:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ngc43.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() { puts("hello, sailor!"); } ^ int ngc43.c:1:10: error: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] main() { puts("hello, sailor!"); } ^ 2 errors generated. ngc43.c:1:34: warning: '__destructor__' attribute only applies to functions [-Wignored-attributes] extern int thing __attribute__((__destructor__)); ^ ngc43.c:1:27: warning: non-void function does not return a value [-Wreturn-type] f() { volatile char me=1; } ^ ngc43.c:3:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ngc43.c:3:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ngc43.c:3:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ngc43.c:5:24: warning: null passed to a callee that requires a non-null argument [-Wnonnull] memset((char*)0,0,0); ~~~~~~~~ ^ ngc43.c:1:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] void strcasecmp(); ^ ngc43.c:1:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' ngc43.c:1:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration] void strncasecmp(); ^ ngc43.c:1:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)'