mercredi 20 février 2019

C++ - What would happen if two library uses same source code for build

I have doubt is it possible if I built lib1.so using source file common.cppand lib2.so using same source file common.cpp again. Now I want to build my application APP using this two library ,

My question are

  1. is it possible Or it will give me error ?
  2. If it will successfully built then how naming gets resolved?

Aucun commentaire:

Enregistrer un commentaire