Michael Howard and I had a very pleasant exchange (as always) over email, where neither of us quite seemed to grasp exactly what the other was saying (as always), and where we mostly agreed (as always), and which resolved out as follows:
cl /analyzeworks if you run the
cl.exefrom the Windows Vista Beta 2 SDK.
- The current plan is to leave this in the Platform SDK as Vista moves to release status from its current beta version.
- Plans may change.
So, for right now, I will be using code analysis for my existing code, on my existing platform, by using the C++ compiler that shipped with the Windows Vista Beta 2 SDK. I hope to post some articles here shortly on the following:
- How to download and install the Windows Vista Beta 2 SDK, with emphasis on tying it into Visual Studio 2005.
- Adding SAL comments to your code (and how to find the important arguments that really need commenting).
- Deciding whether it is better to complexificate the SAL comments, or to simplify your source code.
But I promise to resurrect my rant if it looks like
cl /analyze is going to be withdrawn from the released version of the Platform SDK.