I'm working on a project that uses waf as its build tool. The project does build under MSVC but things aren't as I'd expect them. For example, when building a Debug version of the project, it seems to link to the Release version of the MSVC 'C' runtime.

After examining the waf script, I noticed a couple of places where paramters are getting passed to the compiler using '-' (rather than '/'). For example, waf passes -TP and -MD to the compiler whereas VS's own IDE would pass them as /TP and /MD.

Are both versions valid or are these mistakes that I'll need to modify in the waf script?

[Edit...] I'm building with VS2005, BTW