Closed GoogleCodeExporter closed 9 years ago
Hi!
First off, thank you for the detailed report :).
The whio code will "almost certainly not" compile on Windows because it makes
some small use of Posix APIs which aren't available on Windows, e.g. signal
handling. The majority of it "should" compile on Windows but is untested, and
some of the functionality (e.g. EPFS) won't build on Windows without some more
#ifdefs (and someone to test them - i don't have Windows).
As for the stream constructor - i can't say off hand whether i hosed whio's use
of the stream ctor, but i very well may have. i just happen to have an
excellent book about the i/o stream library on my shelf and will clarify/fix
this.
However... i unfortunately cannot commit to doing this right now. My local cvv8
does not compile because Coen and i are in the middle of removing some rather
invasive code and my work (and malicious system crackers) have kept me from
doing any coding the past 8 weeks or so. It is very unlikely that i will be
able to spend any time fixing it for at least another 10 days or so. i
apologize for that, but the timing is particularly bad for me.
In any case, you'll get a mail from google when this ticket has been updated.
Original comment by sgbeal@googlemail.com
on 19 Dec 2011 at 6:46
No problem! Eventually, I got it to compile on Windows after applying those
constructor fixes and using a lot of compatibility include files to imitate
POSIX. I really wanted some file-IO functionality in my little v8 shell. It
does what I want for now (just simple text readline and write); however, I
haven't tested the other features extensively to see if using a null stream is
proper.
I can also provide the includes/source-of-includes and documentation on how to
make the plugin work with MSVC. With exception to getopt.h/.c most of the
compatibility fixes comprise providing defines, or can just be gated away.
Thanks!
Original comment by bionicba...@gmail.com
on 20 Dec 2011 at 12:29
Hi, Badger!
Any additions/fixes/patches are of course happily received! Just attach them to
the report or feel free to email them to me (sgbeal googlemail.com) or our list
(v8-juice-js-dev@googlegroups.com). i will be out of town much of the next 10
days but will get around to the stream constructor stuff (and any additional
code you have) as soon as i get some time to hack. Unfortunately, my employers
consider their PHP/JS code to be much more important than my C++ code :(.
Original comment by sgbeal@googlemail.com
on 20 Dec 2011 at 4:15
The fix is in place in the whio source tree but needs to be ported in here
(hopefully this coming weekend).
Original comment by sgbeal@googlemail.com
on 15 Feb 2012 at 7:43
Badger's patches were committed in r2181.
Original comment by sgbeal@googlemail.com
on 17 Feb 2012 at 8:25
Original issue reported on code.google.com by
bionicba...@gmail.com
on 19 Dec 2011 at 6:47