Community
Participate
Working Groups
Build Identifier: 20120216-1857 Managed builder will use same output name for the object file generated from the source files. This makes it impossible to build the project. Reproducible: Always Steps to Reproduce: 1. Create an empty C++ project. Create a source folders. 2. Add source files named "my.cpp" and "my.c" to the source folder. 3. Build the project. Only one source file will be compiled, linking may fail if that file referenced function from another file.
How would you do this if you hand wrote your own Makefile? The gnu make implicit rules would have the same problem.
We could specify names of intermediate object files explicitly to include extensions, i.e. my.cpp.o and my.c.o.
I wonder if it is possible to do this only when we know there's a name clash. I have this bug scoped for our next release so I plan to experiment with it and possibly submit a CDT patch.