<html>
<head>
<base href="http://bugzilla.gdcproject.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Error compiling 4.8.2 on Cygwin"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=109">109</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Error compiling 4.8.2 on Cygwin
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>4.8.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>gdc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ibuclaw@gdcproject.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>james.darnley@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>While trying to compile gdc 4.8.2 on Cygwin following the generic install
instrcutions at <a href="http://wiki.dlang.org/GDC/Installation/Generic">http://wiki.dlang.org/GDC/Installation/Generic</a> I encountered
the following errors. The gcc source I used is the one provided when you tell
cygwin's setup.exe to give you the source for it's gcc-core package version
4.8.2-2
../../gcc-4.8.2/gcc/d/dfrontend/filename.c: In static member function ‘static
int FileName::ensurePathExists(const char*)’:
../../gcc-4.8.2/gcc/d/dfrontend/filename.c:597:43: error: ‘sep’ was not
declared in this scope
if (path[strlen(path) - 1] != sep)
^
../../gcc-4.8.2/gcc/d/dfrontend/filename.c:606:21: error: ‘r’ was not declared
in this scope
if (r)
^
../../gcc-4.8.2/gcc/d/dfrontend/filename.c:611:25: error: ‘errno’ was not
declared in this scope
if (errno != EEXIST)
^
../../gcc-4.8.2/gcc/d/dfrontend/filename.c:611:34: error: ‘EEXIST’ was not
declared in this scope
if (errno != EEXIST)
^
When looking at the source file there appears to be an impossible #if condition
of:
#if _WIN32
...
#elif POSIX
...
#endif
I am no expert when it comes system related compiling but I would have thought
that these should just be #else statements or perhaps an some #if including
__CYGWIN__</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>