Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334214

Summary: [MS Toolchain] Error in compiler command
Product: [Tools] CDT Reporter: Marc-André Laperle <malaperle>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: CLOSED DUPLICATE QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: major    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:
Attachments:
Description Flags
MS Toolchain compiler command patch none

Description Marc-André Laperle CLA 2011-01-12 23:58:09 EST
Created attachment 186704 [details]
MS Toolchain compiler command patch

Using 8.0.0.201101121201

cl /c /EHs /MD /Zi /nologo /Fo:src\main.obj ..\src\main.cpp

C:\...\main.cpp : fatal error C1083: Cannot open compiler generated file: ':src\main.obj': Invalid argument

Looks like there is an extra colon before the obj path. I tried without it in the command prompt and it worked.

In the plugin.xml history, I see a commit by Doug on 12/8/10
"Fixed up the command line pattern since someone changed the default for spaces between the output flag and the output."

I'm attaching a patch that removes the colon but I'm not very familiar with the msvc compiler flags so I would like a comment from Doug on this if possible. Thanks!
Comment 1 Marc-André Laperle CLA 2011-04-20 19:56:14 EDT

*** This bug has been marked as a duplicate of bug 343431 ***