[vtk-developers] TestBSPTree.cxx compile error

Dave Partyka dave.partyka at kitware.com
Sat Sep 4 09:29:24 EDT 2010


Dash14 was running a cygwin dashboard. Let me see if I can find out what
happened to it.

If anything, change TestBDSPTree to use the following instead.

#if defined( _WIN32 ) && !defined( __CYGWIN__ )

On Sat, Sep 4, 2010 at 8:15 AM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> In Cygwin there is an error compiling TestBSPTree.cxx. This conditional
> passes (it thinks it is WIN32) but then conio.h cannot be found.
>
> #ifdef WIN32
>   #include <conio.h>
> #endif
>
> 1) Shouldn't cygwin report that it is NOT win32?
>
> 2) Later in the file there is this code:
>
>   #ifdef WIN32
>       if (kbhit()) {
>         char c = getch();
>         if (c=='A') break;
>       }
>   #endif
>
> but there is no equivalent statement for not win32 - what is the point of
> that code? Can it simply be removed?
>
> 3) I don't see any cygwin dashboards - can Kitware (or someone) setup a
> nightly cygwin build?
>
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100904/3df20b62/attachment.html>


More information about the vtk-developers mailing list