[Ctk-developers] Recently added #include prevents building on Windows7 with VS2008

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Thu Jul 12 12:01:17 EDT 2012


Hi Csaba,

Thanks for reporting the problem, I just created an issue to track it. See
https://github.com/commontk/CTK/issues/192

I suggest that further discussion related to that problem happen on the
tracker.

Hth
Jc

On Thu, Jul 12, 2012 at 11:26 AM, Csaba Pinter <pinter at cs.queensu.ca> wrote:

>  Hi all,
>
> A commit from two days ago introduced a build error in CTK on my machine
> (Win7, VS2008, http://slicer.cdash.org/viewBuildError.php?buildid=27825):
>
> https://github.com/commontk/CTK/commit/9dd5828465db1e93851042d10a1b5a80e52a8309
>
> The same build error occurs on other machines too, for example on
> District9.kitware:
> http://slicer.cdash.org/viewBuildError.php?buildid=27782
>
> The first line from the following code snippet causes the problem.
> However, this include happens a few lines below if a macro is defined.
> Instead of including unistd.h in every case, this macro should be further
> investigated.
>
> *#include <unistd.h>*
>
> // STD includes
> #include <cstdio> // For _fileno or fileno
> #ifdef _MSC_VER
> # include <io.h> // For _write()
> #else
> # *include <unistd.h>*
> #endif
>
>
> Thank you,
> csaba
>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20120712/37f91cf4/attachment.html>


More information about the Ctk-developers mailing list