Dependent/injected tests vs. linker visibility
Dependent/injected tests vs. linker visibility
- Subject: Dependent/injected tests vs. linker visibility
- From: Jim Correia <email@hidden>
- Date: Mon, 16 Nov 2009 16:33:34 -0500
I have some dependent/injected unit tests. I've added a test that calls a C function which is defined in the application. This causes a link-time error because, by default, applications are compiled with -fvisibility=hidden.
What practical solution are you all using for this problem?
- Globally make symbols visible?
- Only for Debug (or a Test specific) configuration?
- Mark specific symbols, as required for the unit tests, to be visible?
- Avoid using dependent/injected tests?
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden