0

The situation is similar to this question on SO i.e. a function with the same name is defined differently in two separate .so libs which are then linked to the same executable where the function may be called. If the source files of the libs were being compiled together, the linker would have complained of something like "multiple definition ...". Is it possible to make the linker give some warning that the same function is defined in different .so libs being linked in the given scenario?

random40154443
  • 1,100
  • 1
  • 10
  • 25

0 Answers0