On 01/16/2014 10:43 AM, Stephen Gallagher wrote:
On 01/13/2014 01:42 PM, Lukas Slebodnik wrote:
> ehlo,
> attached patch addresses ticket #2193
> I have just a question about refarray/libref_array.sym There is
> extern function ref_array_debug, which is not defined in public
> header file (not exposed in public API), but it is used in
> ref_array unit tests. It needs to be in global section because
> linker with fail to find symbol. Should I add any comment to the
> file libref_array.sym or does anyone better solution?
Given that it's never intended to be used by anything but the unit
tests, I'd much prefer that it be built as a separate object file and
just statically linked into the test and the library. Then we don't
need to expose it from the library. Not that I expect anyone is going
to use it, but this is better behavior.
This is what I suggested too but it is a bit of work...
Let me investigate today and I will come back to you.
--
Thank you,
Dmitri Pal
Sr. Engineering Manager for IdM portfolio
Red Hat Inc.
-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/