[pptp-server] Trivial yet major bug
Peter Galbavy
Peter.Galbavy at knowledge.com
Sat Jun 5 03:22:19 CDT 1999
On Sat, Jun 05, 1999 at 04:08:20PM +0800, David Luyer wrote:
> > Can I recommend -Wall -Werror -Wmissing-prototypes ?
>
> I chose -Wall -ansi -pedantic and the current CVS under Linux is now cleanly
> compiling with that.
I found the compile message later, but (wait for this!), under OpenBSD
-ansi causes me problems with the macros that contribute to htons().
Rather than start on getting the header files changed to check for
__STRICT_ANSI__ at this stage (later maybe), I have pulled -ansi out
of my Makefile.am. I notice it is commented out anyway.
My Makefile.am reads:
CFLAGS = -Wall -Wmissing-prototypes -pedantic -Werror
and I will work through the code with that this morning.
Can a Makefile.am have conditional logic in it ?
Regards,
--
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com/
More information about the pptp-server
mailing list