From 5ee9c6e95736d9ae925fedab4caa0c615d115fb2 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 10 Jan 2014 20:46:25 -0800 Subject: * configure: Detect platforms which don't reveal declarations in C headers which are extensions to standard C, like popen or fileno, in response to standard feature selection macros like -D_POSIX_SOURCE. MinGW and Cygwin are offenders. These platforms hide the declarations when gcc is in -ansi mode, by testing for __STRICT_ANSI__. Turns out, however, that -U__STRICT_ANSI__ on the gcc command line strips this away, causing the declarations to be revealed. * lib.c, parser.l, stream.c, utf8.c: Removed the declarations which compensated for the above problem. Yippee! Fuck you, stupid Cygwin troglodytes, and the MinGW horse you rode in on. http://cygwin.com/ml/cygwin/2011-10/msg00131.html --- ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4b9259ee..32199aa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2014-01-10 Kaz Kylheku + + * configure: Detect platforms which don't reveal declarations + in C headers which are extensions to standard C, like popen or fileno, + in response to standard feature selection macros like -D_POSIX_SOURCE. + MinGW and Cygwin are offenders. These platforms hide the declarations + when gcc is in -ansi mode, by testing for __STRICT_ANSI__. Turns out, + however, that -U__STRICT_ANSI__ on the gcc command line strips this + away, causing the declarations to be revealed. + + * lib.c, parser.l, stream.c, utf8.c: Removed the declarations which + compensated for the above problem. Yippee! Fuck you, stupid Cygwin + troglodytes, and the MinGW horse you rode in on. + http://cygwin.com/ml/cygwin/2011-10/msg00131.html + 2014-01-10 Kaz Kylheku * eval.c (eval_init): Renaming lisp-parse to read; lisp-parse -- cgit v1.2.3