[vtk-developers] Missing typedef in vtkSocket.cxx
Bill Lorensen
bill.lorensen at gmail.com
Mon Sep 6 14:32:26 EDT 2010
Seems like that should be in some system include file. It's dangerous
to assume a particular atomic type. The correct fix is to find where
it is defined on that system and #include the proper file, maybe with
#if system guards.
Bill
On Mon, Sep 6, 2010 at 2:24 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> When compiling on Windows Vista with Visual Studio 2008 I got a "socklen_t
> is undefined" compiler error.
> I added
> typedef int socklen_t;
> at the top of the file and then it worked. Anyone involved with vtkSocket
> know if that seems like a reasonable fix?
> Thanks,
>
> David
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
More information about the vtk-developers
mailing list