#pragma deprecated don't use please
f() {
}
main() {
}
no deprecated function warning for the above code which is right
#pragma deprecated don't use please
f() {
}
main() {
f();
}
two warnings are thrown instead of just one
I think this is not right. : the warning thrown at the site of declaration of the deprecated function is redundant.