How can i use a pragma directive in order to show warning by compiler when a variable is declared twice.. That is
class a
{
int b;
void f()
{
int b;
}
};
although it is getting compiled without warning.
class a
{
int b;
void f()
{
int b;
}
};
although it is getting compiled without warning.
Comment