A few compiler warnings with the current version of clang on macOS Ventura

gcc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)

gcc -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 
-Wmissing-prototypes -Wall -pthread  -c hash_intmd5.c
In file included from hash_intmd5.c:34:
./md5.c:120:6: warning: a function declaration without a prototype is 
deprecated in all versions of C and is not supported in C2x 
[-Wdeprecated-non-prototype]
void MD5Init (mdContext)
     ^
./md5.c:137:6: warning: a function declaration without a prototype is 
deprecated in all versions of C and is not supported in C2x 
[-Wdeprecated-non-prototype]
void MD5Update (mdContext, inBuf, inLen)
     ^
./md5.c:176:6: warning: a function declaration without a prototype is 
deprecated in all versions of C and is not supported in C2x 
[-Wdeprecated-non-prototype]
void MD5Final (mdContext)
     ^
./md5.c:217:13: warning: a function declaration without a prototype is 
deprecated in all versions of C and is not supported in C2x 
[-Wdeprecated-non-prototype]
static void Transform (buf, in)
            ^
./md5.c:217:13: warning: a function declaration without a prototype is 
deprecated in all versions of C and is not supported in C2x 
[-Wdeprecated-non-prototype]
5 warnings generated.

-- 
Bryan Christianson
br...@whatroute.net




--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" 
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the 
subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to