-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Bug
- Priority: Minor
Bug
Target
K64F
Toolchain:
GCC_ARM
mbed-cli version:
0.9.10
mbed-os sha:
1d87508
Expected behavior
Clean compilation
Actual behavior
Compilation succeeds, but a warning message is issued:
Object file test_env.o is not unique! It could be made from: ./mbed-os/features/frameworks/greentea-client/source/test_env.cpp /home/colin/mbed/null/mbed-os/features/unsupported/tests/mbed/env/test_env.cpp
Steps to reproduce
$ mbed new null
[mbed] Creating new program "null" (git)
[mbed] Adding library "mbed-os" from "https://github.com/ARMmbed/mbed-os" at latest revision in the current branch
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#d1a71eb9fc0982b255515b10d7bb735390f229a5"
$ cd null
$ echo 'int main() {return 0;}' > main.cpp
$ cd mbed-os
$ mbed update mbed-os-5.2
[mbed] Updating library "mbed-os" to branch mbed-os-5.2
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#1d875083b701a5e530f97ba615e2c0d2060d09e5"
$ cd ..
$ mbed compile