Why should one want to disable compiler warnings?
<p><a href="http://stackoverflow.com/questions/6455684/the-variable-myexception-is-declared-but-never-used-c/6455708#6455708">This answer</a> and the comments added to it show a way to disable several compiler warnings using <code>#pragma</code> directives.</p>

<p>Why would one want to do that? Usually the warnings are there for a reason, and I've always felt that they're good reasons. Is there any "valid case" where warnings should be disabled? Right now I can't think of any, but maybe that's just me.</p>
