https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=309462

官方现有解决方案如下:

       I have found an alternate way for the time beging to avoid C2471 error but it works only in the case of successful release build.
      for this click Build menu than Configuration manager than create a new setting from release settings. Change following things in your project settings as :


C\C++ | General | Debug Information format | C7 Compatible (/Z7)

C\C++ | Code Generation | Enable String Pooling | Yes (/GF)

Linker |Debuging |General Debug Info | Yes (/DEBUG)

        after these settings. Rebuild your application. I'm sure you will be able to resolve the pdb updation issue if it is really not hampering your other settings. Hope it will be helpful to you.