<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks, that was fast - I already saw the commit on github!<br>
<br>
Sascha<br>
<br>
On 08/27/2010 04:45 PM, Marcus D. Hanwell wrote:
<blockquote
cite="mid:AANLkTinyu6s_qgyJLEs12-k8OjqG0b5Aotb4ivujZEzi@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Fri, Aug 27, 2010 at 8:04 AM, Sascha
Zelzer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:s.zelzer@dkfz-heidelberg.de">s.zelzer@dkfz-heidelberg.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
when building VTK with MinGW, a lot of visibility warnings ("visibility
attribute not supported in this configuration") are displayed. This is
due to<br>
<br>
set(VTK_ABI_CXX_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden")<br>
<br>
in line 43 of vtkCompilerExtras.cmake. Although MinGW is a gcc variant,
it is not necessary to set the visibility flags if you use
__declspec(export) attributes and don't use --export-all-symbols. See
for example <a moz-do-not-send="true"
href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-linker/win32.html"
target="_blank">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-linker/win32.html</a><br>
<br>
</blockquote>
<div>Thanks - I will get that in today. It is good to clear up the
expected behavior on MinGW too.</div>
<div><br>
</div>
<div>Marcus </div>
</div>
</blockquote>
<br>
</body>
</html>