<br>We have seen the same warnings on Mac <br>(and not when building on Ubuntu).<br><br>I looks like it is a Mac issue...,<br><br>but It is annoying enough <br>that it will be nice to fix it. :-)<br><br><br> Luis<br>
<br><br>-----------------------------------------------------<br><div class="gmail_quote">On Thu, Jul 8, 2010 at 10:30 PM, Daniel Blezek <span dir="ltr"><<a href="mailto:daniel.blezek@gmail.com">daniel.blezek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Sascha,<br>
<br>
I just built on linux and didn't have this problem with linking. Perhaps the flag isn't doing exactly what we expect? Or is the Mac just more picky? Can you easily tell?<br>
<br>
Cheers,<br>
<div class="im">-dan<br>
<br>
<br>
<br>
On Jul 7, 2010, at 12:52 AM, Sascha Zelzer wrote:<br>
<br>
</div><div><div></div><div class="h5">> Hi Dan,<br>
><br>
> this is the closed issue for the change:<br>
><br>
> <a href="http://github.com/pieper/CTK/issues/closed#issue/10" target="_blank">http://github.com/pieper/CTK/issues/closed#issue/10</a><br>
><br>
> I have not seen any linker wanings on my Linux machine yet, did you introduce new code (and what system are you running)?<br>
><br>
> The flags cannot easily be applied to external libraries, since symbols must be prefixed with the appropriate import/export specifiers in the .h files.<br>
><br>
> Best,<br>
> Sascha<br>
><br>
> On 07/07/2010 04:12 AM, Daniel Blezek wrote:<br>
>> Hi all,<br>
>><br>
>> Can someone explain this code from the top level CTK CMakeLists.txt file?<br>
>><br>
>> #-----------------------------------------------------------------------------<br>
>> # Set symbol visibility Flags<br>
>> #<br>
>> IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")<br>
>> SET(VISIBILITY_CXX_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden")<br>
>> ENDIF()<br>
>><br>
>><br>
>> This causes all sorts of linker warnings because Log4Qt doesn't include the flag and CTK does.<br>
>><br>
>> Is this strictly necessary? If so, can it be applied to the Externals as well?<br>
>><br>
>> Thanks,<br>
>> -dan<br>
>><br>
>> --<br>
>> Daniel Blezek<br>
>> <a href="mailto:daniel.blezek@gmail.com">daniel.blezek@gmail.com</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Ctk-developers mailing list<br>
>> <a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
>><br>
><br>
> _______________________________________________<br>
> Ctk-developers mailing list<br>
> <a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br>
--<br>
Daniel Blezek<br>
<a href="mailto:daniel.blezek@gmail.com">daniel.blezek@gmail.com</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</div></div></blockquote></div><br>