3.1 nvcc error on untrimmed -Xcompiler or -Xlinker parameters

Hi,

When updating from CUDA 3.0 to 3.1 I have started having trouble when either of the strings I pass to [font=“Courier New”]-Xcompiler[/font] or [font=“Courier New”]-Xlinker[/font] (i.e. [font=“Courier New”]–compiler-options[/font] or [font=“Courier New”]–linker-options[/font]) have leading whitespace. For example:

No leading whitespace: [font=“Courier New”]-Xcompiler “/favor:INTEL64 /GA”[/font]: No trouble

One space: [font=“Courier New”]-Xcompiler " /favor:INTEL64 /GA"[/font] results in the following error message: [font=“Courier New”]fatal error C1083: Cannot open source file: ‘favor:INTEL64’: No such file or directory[/font]

Two spaces: [font=“Courier New”]-Xcompiler " /favor:INTEL64 /GA"[/font] results in the following error message: [font=“Courier New”]c1 : fatal error C1083: Cannot open source file: ‘avor:INTEL64’: No such file or directory[/font]

Etc.

Windows Vista 64-bit.