[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking to library built with -D_GLIBCXX_DEBUG
From: |
Paul Pluzhnikov |
Subject: |
Re: Linking to library built with -D_GLIBCXX_DEBUG |
Date: |
Sat, 24 May 2008 11:23:57 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
mathieu <mathieu.malaterre@gmail.com> writes:
> Everything is nicely PIMPLized so I did
> not see no explicit linking issue.
This might be the key. Make sure your class provides no inline
methods that "break" the "PIMPL implementation hiding".
Assuming the library exports 'class Foo', then
nm -C main-exe | grep 'Foo::' | grep -v ' U '
should produce no output (IOW, all Foo::* methods are imported;
none are inlined or linked from somewhere other than the shared
library).
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.