Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334214 - [MS Toolchain] Error in compiler command
Summary: [MS Toolchain] Error in compiler command
Status: CLOSED DUPLICATE of bug 343431
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 23:58 EST by Marc-André Laperle CLA
Modified: 2011-04-20 19:56 EDT (History)
1 user (show)

See Also:


Attachments
MS Toolchain compiler command patch (697 bytes, patch)
2011-01-12 23:58 EST, Marc-André Laperle CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***