diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/alloc.c | 1 | ||||
| -rw-r--r-- | src/conf_post.h | 5 | ||||
| -rw-r--r-- | src/lisp.h | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a07daee1669..522f1ad965a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2014-05-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix port to 32-bit AIX with xlc (Bug#17598). | ||
| 4 | * alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE. | ||
| 5 | * conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty. | ||
| 6 | * lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum, | ||
| 7 | to work around a compiler bug in IBM xlc 12.1. | ||
| 8 | |||
| 1 | 2014-05-29 Eli Zaretskii <eliz@gnu.org> | 9 | 2014-05-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 10 | ||
| 3 | * xterm.c (x_update_window_end): Don't invalidate the entire | 11 | * xterm.c (x_update_window_end): Don't invalidate the entire |
diff --git a/src/alloc.c b/src/alloc.c index ccb955a547b..12b3d4ba165 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -7003,7 +7003,6 @@ union | |||
| 7003 | enum CHECK_LISP_OBJECT_TYPE CHECK_LISP_OBJECT_TYPE; | 7003 | enum CHECK_LISP_OBJECT_TYPE CHECK_LISP_OBJECT_TYPE; |
| 7004 | enum DEFAULT_HASH_SIZE DEFAULT_HASH_SIZE; | 7004 | enum DEFAULT_HASH_SIZE DEFAULT_HASH_SIZE; |
| 7005 | enum enum_USE_LSB_TAG enum_USE_LSB_TAG; | 7005 | enum enum_USE_LSB_TAG enum_USE_LSB_TAG; |
| 7006 | enum FLOAT_TO_STRING_BUFSIZE FLOAT_TO_STRING_BUFSIZE; | ||
| 7007 | enum Lisp_Bits Lisp_Bits; | 7006 | enum Lisp_Bits Lisp_Bits; |
| 7008 | enum Lisp_Compiled Lisp_Compiled; | 7007 | enum Lisp_Compiled Lisp_Compiled; |
| 7009 | enum maxargs maxargs; | 7008 | enum maxargs maxargs; |
diff --git a/src/conf_post.h b/src/conf_post.h index 312f2389415..446c8275613 100644 --- a/src/conf_post.h +++ b/src/conf_post.h | |||
| @@ -297,8 +297,9 @@ extern void _DebPrint (const char *fmt, ...); | |||
| 297 | 297 | ||
| 298 | /* To use the struct hack with N elements, declare the struct like this: | 298 | /* To use the struct hack with N elements, declare the struct like this: |
| 299 | struct s { ...; t name[FLEXIBLE_ARRAY_MEMBER]; }; | 299 | struct s { ...; t name[FLEXIBLE_ARRAY_MEMBER]; }; |
| 300 | and allocate (offsetof (struct s, name) + N * sizeof (t)) bytes. */ | 300 | and allocate (offsetof (struct s, name) + N * sizeof (t)) bytes. |
| 301 | #if 199901 <= __STDC_VERSION__ | 301 | IBM xlc 12.1 claims to do C99 but mishandles flexible array members. */ |
| 302 | #if 199901 <= __STDC_VERSION__ && !defined __IBMC__ | ||
| 302 | # define FLEXIBLE_ARRAY_MEMBER | 303 | # define FLEXIBLE_ARRAY_MEMBER |
| 303 | #elif __GNUC__ && !defined __STRICT_ANSI__ | 304 | #elif __GNUC__ && !defined __STRICT_ANSI__ |
| 304 | # define FLEXIBLE_ARRAY_MEMBER 0 | 305 | # define FLEXIBLE_ARRAY_MEMBER 0 |
diff --git a/src/lisp.h b/src/lisp.h index af54887a51a..a92d7694a3b 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3815,7 +3815,7 @@ extern void print_error_message (Lisp_Object, Lisp_Object, const char *, | |||
| 3815 | Lisp_Object); | 3815 | Lisp_Object); |
| 3816 | extern Lisp_Object internal_with_output_to_temp_buffer | 3816 | extern Lisp_Object internal_with_output_to_temp_buffer |
| 3817 | (const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object); | 3817 | (const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object); |
| 3818 | enum FLOAT_TO_STRING_BUFSIZE { FLOAT_TO_STRING_BUFSIZE = 350 }; | 3818 | #define FLOAT_TO_STRING_BUFSIZE 350 |
| 3819 | extern int float_to_string (char *, double); | 3819 | extern int float_to_string (char *, double); |
| 3820 | extern void init_print_once (void); | 3820 | extern void init_print_once (void); |
| 3821 | extern void syms_of_print (void); | 3821 | extern void syms_of_print (void); |