title: ignore g++ compile error for extra qualification for backwards compatibility
body: <p>I am trying to port a project in a new Linux system with newer g++ version. While compiling I am getting the following:</p>
  
  <blockquote>
    <p>error: extra qualification 'Customer::' on member 'getCustomer'</p>
  </blockquote>
  
  <p>Inside a class definition, I am prefixing getCustomer() with Customer::.</p>
  
  <p>If I remove the <strong><em>Customer::</em></strong> my code works, however the code has a lot of entries prefixed  with class names and scope operator. Is there a way, eg a compiler directive, that helps eliminating this error?</p>
  
  <p>From my shell <strong>gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC)</strong></p>