#pragma comment manifestDependency

  • Thread starter Thread starter Keith Hill MVP
  • Start date Start date
K

Keith Hill MVP

Guest
What is this goo used for? It is new in the July CTP:

#pragma comment(linker,"/manifestdependency:\"type='win32' " \
"name='" __LIBRARIES_ASSEMBLY_NAME_PREFIX ".CRT' " \
"version='" _CRT_ASSEMBLY_VERSION "' " \
"processorArchitecture='x86' " \
"publicKeyToken='" _VC_ASSEMBLY_PUBLICKEYTOKEN "'\"")

We have a special preprocessor that is generating a warning on this for just about every file we process. We get:

expected ')'; found identifier '__LIBRARIES_ASSEMBLY_NAME_PREFIX'

What happens if we remove this macro and it's debug cousin?

--
Keith

Continue reading...
 
Back
Top