Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357556 - [MS Toolchain] Cannot create static library containing multiple obj
Summary: [MS Toolchain] Cannot create static library containing multiple obj
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: All Windows All
: P3 normal (vote)
Target Milestone: 8.0.1   Edit
Assignee: Marc-André Laperle CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 16:34 EDT by Marc-André Laperle CLA
Modified: 2011-09-13 19:07 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 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.