I have a small project in C++ VS 2010, which uses a couple of static link libraries(.lib files).
This options are turned on: OPT:REF, OPT:ICF, /GL, GR-
When I add unused method to a class, which uses some code from static libraries, compiler generated bigger code(i.e. includes this method in final executable)
Why? What am I doing wrong?