More bugs (should I be making bugzillas for these instead of spamming the list?)
int equal(char *a, const char *b)
{
return a == b;
}
imac:Desktop keith$ gcc -Wall -W -Wno-unused-parameter -Werror test5.c
-fsyntax-only
imac:Desktop keith$ clang -fsyntax-only test5.c
test5.c:3:14: warning: comparison of distinct pointer types ('char *'
and 'char const *')
return a == b;
~ ^ ~
1 diagnostic generated.