title: How to get rid of "C++ exception specification ignored" warning
body: <p>I recently got a dll that has been implemented by others. I have to use it in my application. In the header file of their class they have the function declaration </p>
  
  <pre><code>void func1() throw (CCustomException);
  </code></pre>
  
  <p>Now when i compile it am getting the warning,</p>
  
  <blockquote>
    <p>C++ exception specification ignored
    except to indicate a function is not
    _declspec(nothrow)</p>
  </blockquote>
  
  <p>I read the <a href="http://msdn.microsoft.com/en-us/library/sa28fef8%28VS.80%29.aspx" rel="noreferrer">MSDN - Documentation</a> but couldn't understand it clearly. Also, I don't want to disable the warning just because it is showing up. I want to know what I am doing wrong instead of disabling it.</p>
  
  <p>I thought my function, <em>say</em> <code>myfunc()</code> accessing that <code>func1()</code> from the dll doesn't have that Exception specification list. Hence I tried having the corresponding exception specification list in my function too as,</p>
  
  <pre><code>void myfunc1() throw (CCustomException);
  </code></pre>
  
  <p>But I am still getting the warning. What is that warning is all about and how to get rid of it? I am using Qt 4.5 in Windows XP.</p>