| 1 |
c_names and cxx_names with overlapping names in the same stanza |
| 2 |
|
| 3 |
$ dune build @all |
| 4 |
File "dune", line 4, characters 12-15: |
| 5 |
4 | (cxx_names foo)) |
| 6 |
^^^ |
| 7 |
Error: Multiple sources map to the same object name "foo": |
| 8 |
- foo.c |
| 9 |
- foo.cpp |
| 10 |
This is not allowed; please rename them or remove "foo" from object names. |
| 11 |
Hint: You can also avoid the name clash by placing the objects into different |
| 12 |
foreign archives and building them in different directories. Foreign archives |
| 13 |
can be defined using the (foreign_library ...) stanza. |
| 14 |
[1] |