title: Turning on whole program optimization in some static library increases dramatically the library size !
body: <p>In Visual Studio 2010, I have a C/C++ static library project. When I turn on the option <strong>whole program optimization</strong> in <strong>release</strong> mode, I obtain a .lib file exceeding 90 MB !
  When I turn off this option the size is reduced to 24 MB.
  This library contains hundreds of classes generated with proto-buffer.</p>
  
  <p>I'm wondering why this option increases the size ?
  Under which conditions we must turn it off ?</p>
  
  <p><em>Edit : Changed MO to MB thanks chrisaycock</em></p>