gcc -std=c99 -Wall -O2 md5watch.c -o md5watch -lssl -lcrypto md5watch.c: In function…
- User
gcc -std=c99 -Wall -O2 md5watch.c -o md5watch -lssl -lcrypto md5watch.c: In function ‘md5_file’: md5watch.c:63:5: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5_Init(&ctx); | ^~~~~~~~ In file included from md5watch.c:24: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ md5watch.c:66:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | MD5_Update(&ctx, buf, n); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5watch.c:68:5: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | MD5_Final(md, &ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ md5watch.c: In function ‘main’: md5watch.c:126:27: error: ‘PATH_MAX’ undeclared (first use in this function) 126 | char realpath_buf[PATH_MAX]; | ^~~~~~~~ md5watch.c:126:27: note: each undeclared identifier is reported only once for each function it appears in md5watch.c:126:14: warning: unused variable ‘realpath_buf’ [-Wunused-variable] 126 | char realpath_buf[PATH_MAX]; | ^~~~~~~~~~~~
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.