This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile errors in libgcj while building cross-compiler for MinGW


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]