setenv: allow compilation with C++
[pspp] / ChangeLog
index 09bece975eb37004aea14eb618b7910118fa8665..2360f0eea428e2cbb5d98868752cf8eb5f468817 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-04-16  Eric Blake  <eblake@redhat.com>
+
+       setenv: allow compilation with C++
+       * lib/setenv.c (__add_to_environ): Add a cast.  Also, drop use of
+       register keyword.
+
+       stdint: allow test to pass with C++
+       * tests/test-stdint.c: Define __STDC_CONSTANT_MACROS, for glibc.
+
+       getopt: allow compilation with C++
+       * lib/getopt_int.h (__ordering): Hoist enum declaration outside
+       struct.
+       * lib/getopt.c (_getopt_internal_r): Use correct type.
+       Reported by Dagobert Michelson, via Joel E. Denny.
+
 2010-04-16  Bruno Haible  <bruno@clisp.org>
 
        Override netdb.h always.