none
Error C2065_'__clr_placement_new_t' after update vs 2019 RRS feed

  • Question

  • The project failed to build after updating my vs 2019 to new version is 16.6.1. It worked in version 16.5.4.

    The error is:

    Severity Code Description Project File Line Suppression State
    Error C2065 '__clr_placement_new_t': undeclared identifier Sinogram.Pet.Algorithm.RespiratoryWaveProcessor C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\include\exception

    how can i resolve it?

    Wednesday, June 3, 2020 10:26 AM

All replies

  • In which line?
    Wednesday, June 3, 2020 1:17 PM
  • Hi,

    Thank you for posting here.

    >>Error C2065_'__clr_placement_new_t' 

    For more details about Error C2065,I suggest you could refer to the link: https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2065?view=vs-2019

    I'm appreciate that if you could provide us with a sample of your code to reproduce the issue, we will provide you with better help.

    Best Regards,

    Jeanine Zhang


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, June 4, 2020 1:44 AM
    Moderator
  • Severity Code Description Project File Line Suppression State
    Error C2065 '__clr_placement_new_t': undeclared identifier Sinogram.Pet.Algorithm.RespiratoryWaveProcessor C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\include\exception 351

    line is 351.

    The project is created by vs 2012, and upgraded to vs 2019. it works well in version 16.5.4, but got error in version 16.6.1.

    Thursday, June 4, 2020 1:45 AM
  • That line of external ‘exception’ file does not seem to indicate a problem. Show the fragment of ‘exception’ file that reports the error on your machine.

    Thursday, June 4, 2020 3:32 AM
  • Hi,

    I got same issue. Did you get the solution for this ?

    Monday, June 8, 2020 4:08 AM