[pptp-server] v0.8.9 released

David Luyer luyer at ucs.uwa.edu.au
Tue Jun 8 01:19:47 CDT 1999


> On Mon, 7 Jun 1999, Matthew Ramsay wrote:
> > 
> > PoPToP v0.8.9 has been released!
> 
> Hmm.  The addition of -ansi and -Wmissing-prototypes has caused some
> problems for me.
> 
> The header files on my system claim that strdup does not exist in ansi
> specification.  I don't really know if this is the case or not.

It's true - that's why _BSD_SOURCE is there on Linux, and __EXTENSIONS__
on Solaris.  It's a BSD extension, but it's available pretty much everywhere.

> Also,
> declaring '_BSD_SOURCE' (in pptpdcmds.c, for linux) causes some problems
> in my setjmp.h.
> This may well be an error
> in my includes, but maybe not.

It is.  But we may be able to work around it, I'll change _BSD_SOURCE to
_GNU_SOURCE on Linux and see if that makes everything happy - _GNU_SOURCE
I believe includes POSIX and BSD code.

> Also, there exist some things in my header files that seem to have no
> prototypes (errors, etc at bottom).

OK, guess we should drop -Wmissing-prototypes by default, and just use
it for developers.  Done in CVS.

> In addition, my system does not declare a socklen_t.  It simply uses
> 'int'.

Should be fixed in latest CVS (autoconf check).

[.. about bad kernel source ...]
> Doesn't like it if I remove the extern either.  But I can slap some
> prototypes in there and it works okay.

You should declare it 'static' most likely.

David.





More information about the pptp-server mailing list