To be correct, the problem is not in the Cygwin installation, the problem
is in v8's #ifdef logic: WIN32 does not necessarily imply VisualStudio or
MinGW. In the case at hand, we have a POSIX-compliant random(), but its
signature doesn't match the POSIX one, which returns a long:
http://www.unix.com/man-page/POSIX/3posix/random/.

Although Cygwin is not officially supported, we should nevertheless fix the
signature and the #ifdef logic. For the latter, we should really, really
move away from the totally broken and unmaintainable platform-centric
#ifdefs towards feature-centric #ifdefs, a lesson the autotools community
has learned 2-3 decades ago...

On Wed, Oct 31, 2012 at 8:31 AM, Jakob Kummerow <[email protected]>wrote:

> Seems to be a problem with your Cygwin installation (the file that
> generates the error is part of Cygwin, not part of V8). Sorry, but you're
> on your own on this, as building on Cygwin is not officially supported.
>
> The officially supported compiler is Visual Studio. You don't need to use
> it for editing, as long as you have it installed so you can use its bundled
> compiler (which you can probably even configure to use from within Eclipse).
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to