In C #, go to Project> Properties Alt + F7> Build Page> Errors and Warnings section> Suppress Warnings. Enter the number of alerts separated by a comma or semicolon.
In C ++, go to Project> Properties> Configuration Properties> C / C ++> Advanced> Disable Specific Warnings. Enter the number of warnings separated by semicolons.
source share