[vtk-developers] Linker warnings
Ben Boeckel
ben.boeckel at kitware.com
Fri Feb 9 09:34:47 EST 2018
On Fri, Feb 09, 2018 at 08:36:40 -0500, Ken Martin wrote:
> Are these warnings we care about
>
> ld: warning: direct access in function
> 'vtkCPExodusIIElementBlockImpl::SetExodusConnectivityArray(int*,
> std::__1::basic_string, std::__1::allocator > const&, int, int)' from
> file 'IO/Exodus/CMakeFiles/vtkIOExodus.dir/vtkCPExodusIIElementBlock.cxx.o'
> to global weak symbol 'toupper(int)' from file
> 'lib/libvtksys-9.0.a(SystemTools.cxx.o)' means the weak symbol cannot
> be overridden at runtime. This was likely caused by different
> translation units being compiled with different visibility settings
>
>
> or just suppress them?
They're certainly interesting… It seems that
`vtkCPExodusIIElementBlockImpl` uses `::toupper` without including
`<ctype.h>` or `<cctype>`. That might fix it.
--Ben
More information about the vtk-developers
mailing list