RE: Problem linking to wrong class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Brian,

> Is there an option on the linker to at least warn me it is doing this?

No, since it really isn't a warning-ish behavior.  It's expected behavior, by design.

But you could detect these kinds of collisions by using nm on your executable and shared object libraries.  May need some grep/sed mash-up magic (or Perl, Python, Ruby... whatever string manipulation scripting magic you're most comfortable with).

Sincerely,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux