What's the justification for deprecating "exestr' comments?

  • Thread starter Thread starter wfredk
  • Start date Start date
W

wfredk

Guest
I converted an old project to VC++ 2015 so I could compile it to run in a 64 bit Windows console window. The build succeeded, but there were a raft of warnings in the form of "warning LNK4229: invalid directive /COMMENT ... encountered; ignored" in the output window. In the interest of building without errors or warnings, I dug into the apparent problem to see how it could be fixed.

On the documentation page for the C++ comment #pragma at https://msdn.microsoft.com/en-us/library/7f0aews7.aspx I found what I think is a *SERIOUS* error on Microsofts part:

exestr is deprecated and will be removed in a future release; the linker does not process the comment record.


What is the justification for this decision? Ive always used this capability to "watermark" the libraries and programs I build, and I cant see any reason why this facility should be removed.

Continue reading...
 
Back
Top