<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
A commit from two days ago introduced a build error in CTK on my
machine (Win7, VS2008, <a
href="http://slicer.cdash.org/viewBuildError.php?buildid=27825">http://slicer.cdash.org/viewBuildError.php?buildid=27825</a>):<br>
<a
href="https://github.com/commontk/CTK/commit/9dd5828465db1e93851042d10a1b5a80e52a8309">https://github.com/commontk/CTK/commit/9dd5828465db1e93851042d10a1b5a80e52a8309</a><br>
<br>
The same build error occurs on other machines too, for example on
District9.kitware: <a
href="http://slicer.cdash.org/viewBuildError.php?buildid=27782">http://slicer.cdash.org/viewBuildError.php?buildid=27782<br>
</a><br>
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.<br>
<br>
<small><small><font face="Courier New, Courier, monospace"><b>#include
<unistd.h></b><br>
<br>
// STD includes<br>
#include <cstdio> // For _fileno or fileno<br>
#ifdef _MSC_VER<br>
# include <io.h> // For _write()<br>
#else<br>
# <b>include <unistd.h></b><br>
#endif</font></small></small><br>
<br>
<br>
Thank you,<br>
csaba<br>
<br>
</body>
</html>