Project won't build in V14.15.26726 due to missing _Debug_message definition in xutility

  • Thread starter Thread starter DamienRoot6
  • Start date Start date
D

DamienRoot6

Guest
Hi,

We've just updated to the latest version of Visual Studio 2017 Enterprise (15.8.0) and one of our C++ projects will no longer build. The exact error is:

Error C2039 '_Debug_message': is not a member of 'std'

Having checked the references on a machine with an earlier version installed (using VC++ 14.14.26428) it appears that this is not defined in the later 14.15.26726 xutility internal header file (C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.15.26726\include) . In the earlier version it is defined on line 36 of that file as "_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *,
const wchar_t *, unsigned int);" but it is missing from the newer version.

Has this been remapped elsewhere or is this an omission? Comparing the two files shows that there are considerable differences so I doubt they are compatible, it looks like everything has been reworked in this version.

Essentially it looks like the memory header file is no longer compatible with the xutility header yet they are the same version!?

Please can you advise?


Many thanks,

Damien

Continue reading...
 
Back
Top