Well, Don… “You might accidentally write some C++” doesn’t sound like very convincing argument to me. You know, if I throw-in an inline declaration or two I don’t feel like either I, or my project, is going to hell for it. If that’s the worst of my engineering sins, I figure I may not be canonized, but I’m doing pretty well. I wasn’t real far along on that canonization route anyways.
As far as what I might ACCIDENTALLY do in my driver, well, I figure there are a lot of things more serious for me to worry about than maybe some “//” comments finding their way into my code, you know… like accidentally screwing up my code with an implicit cast.
And while I really LIKE the members of the SDV team (devs and PMs both… I really do) and appreciate both the enthusiasm they bring to their product and their talent, I’m sorry to say that I have yet to find a bug using SDV (even when I’ve tried to do so intentionally), so I’ve stopped using it. Lots of things have “huge potential” – doesn’t mean I want them in my arsenal of tools… today. Tomorrow, heck, who knows? Maybe we’ll be writing drivers in user mode, and using C#. And, while it doesn’t matter, I’m almost sure that SDV now supports .CPP file types.
As to “other tools out there that can have problems digesting things other than C”, well… I don’t know what they are, I don’t use them, and thus won’t worry about them.
So, let’s see, your argument, though ad-hominem and carried out at a high volume, seems to come down to the following two technical points:
a) SDV, which doesn’t really find any problems, and some tools unnamed which we don’t know, won’t work with C++ so we’ll have to modify the our code to use them. Simple fix to that: Don’t use those tools.
b) If you name your file .CPP, you might accidentally write some C++ and you’re whole project will be in the shitter. Like you’re going to wake up one day and your project will be magically filled with multiple inheritance, functions that differ only by a single parameter, or abstract base classes or something? So, your argument is “there are features of C++ that are evil in driver projects”… and I agree with that argument. Simple fix: Don’t do these things in your drivers.
Sounds pretty simple to me. And hardly warrants the histrionics, you know??
Peter
OSR
Apparently “stupid IDIOT for naming his files .CPP”