This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Compile errors in libgcj while building cross-compiler for MinGW
- From: Michael Koch <konqueror at gmx dot de>
- To: Adam Megacz <gcj at lists dot megacz dot com>, java at gcc dot gnu dot org
- Date: Tue, 7 Jan 2003 23:19:04 +0100
- Subject: Re: Compile errors in libgcj while building cross-compiler for MinGW
- References: <atqino$hgl$1@main.gmane.org> <87y967t82r.fsf@fleche.redhat.com> <86bs2s97ud.fsf@nowhere.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Dienstag, 7. Januar 2003 18:40 schrieb Adam Megacz:
> > To accommodate this limitation, I propose defining macros
> > "_Jv_platform_getsockerr()" and "_Jv_platform_setsockerr()"
>
> I would greatly prefer to simply break off the Win32 socket stuff
> into Win32SocketImpl.java, just like we do with filesystem stuff.
> The Win32 sockets stuff superficially appears to be BSD-compatible,
> but it's not.
>
> Trying to cram it into the same file by using tricky #define's and
> #ifdef's is just asking for trouble, and it will only get harder as
> we start implementing more sophisticated stuff like IPv6 and
> multicast.
I already started work to split the posix and the win32 implementation
more and more into separate files. I do this as I implement more and
more stuff in java.nio. I hate the overall #ifdefed code too, its
just heavy to read.
Michael
- --
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+G1JbWSOgCCdjSDsRAjRRAJ9qFAD612VE5EPoOVFVBKai0VSfygCcCv0t
+iF787v8zrQTrn5fHlJvZl4=
=ehP+
-----END PGP SIGNATURE-----