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

Bug 357556

Summary: [MS Toolchain] Cannot create static library containing multiple obj
Product: [Tools] CDT Reporter: Marc-André Laperle <malaperle>
Component: cdt-buildAssignee: Marc-André Laperle <malaperle>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.0.1   
Hardware: All   
OS: Windows All   
Whiteboard:

Description Marc-André Laperle CLA 2011-09-13 16:34:58 EDT
1. Create a static lib project with MS VC++ toolchain
2. Add 2 or more source files
3. Console shows this:
Build error
Generated resource conflict: 
two resources of the same name: /testStatic4/Debug/testStatic4.lib 
generated by different tools 
tool1: Library Manager (lib) 
tool2: Library Manager (lib)

This is because multipleOfType is not set to true for the Lib tool input type
Comment 1 Marc-André Laperle CLA 2011-09-13 19:07:34 EDT
Fixed in 8.0.1 and master.