Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2000 12:04:57 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        alex@big.endian.de
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports/16444: fix games/maelstrom (bentofied)
Message-ID:  <200001302004.MAA09521@windsor.research.att.com>

next in thread | raw e-mail | index | archive | help

> In fact, I've read so much code with socklen_t, that I thought it is
> the standard :-P (Steven's books as a small example)

It *is* the standard... now.  The standard just happens to be
different from the original socket interface, and the fact that g++ has
-pedantic-errors on by default means that you can't write portable code.
(You can't even AC_CHECK_TYPE() since it's in <sys/scoket.h>, you'd have
to use AC_EGREP_HEADER() or AC_TRY_COMPILE()...).  I've found that the
easiest thing to do with ports is to just compile with -pedantic.

  Bill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001302004.MAA09521>