Bug 441447 - Linker additional paths parsed incorrectly
Summary: Linker additional paths parsed incorrectly
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.4.0   Edit
Hardware: PC Windows 8
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-08 17:43 EDT by Yordan Gigov CLA
Modified: 2020-09-04 15:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yordan Gigov CLA 2014-08-08 17:43:31 EDT
Adding extra paths to the linker, whether a single file or directory fails, as they get parsed incorrectly, by being broken down on the whitespaces. It's as if the parser calls .split(" ") on the string somewhere. It seems a different path parser is used for the compiler because that works. Here is the console log I got from it. It may be from another component, but I have no way of determining it, other than trying to trace the code.

cl /c /EHs /MD /Zi "/IC:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\shared" "/IC:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\um" "/IC:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\um\\gl" /nologo "/Fosrc\\main.obj" "..\\src\\main.cpp" 
main.cpp
link /debug /nologo "/libpath:C:\\Program" Files "(x86)\\Windows" "Kits\\8.0\\Lib\\win8\\um\\x86" /OUT:rsms.exe "src\\main.obj" WS2_32.Lib 
LINK : fatal error LNK1181: cannot open input file 'Files.obj'


-- Configuration Details --
Product: Eclipse 4.4.0.20140612-0500 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 4.4.0.v20140606-1558