P
Pete
I'd like to have warnings for code like this:
void blah(char c) {}
int main() {
int a = 500;
blah(a); // want a warning here
char b = a; // warning here would be nice too
}
Can this be achieved via any trick of the language, or is it
compiler-specific?
Thanks...
void blah(char c) {}
int main() {
int a = 500;
blah(a); // want a warning here
char b = a; // warning here would be nice too
}
Can this be achieved via any trick of the language, or is it
compiler-specific?
Thanks...