mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
c3f829c1a6
* configure.ac: Check declarations for asprintf and vasprintf. * config.in: Regenerate. * configure: Likewise. * charset.c (conversion_loop): Use XRESIZEVEC. (convert_no_conversion): Likewise. (convert_using_iconv): Likewise. (init_iconv_desc): Cast return value of alloca. (cpp_host_to_exec_charset): Use XNEWVEC. (emit_numeric_escape): Use XRESIZEVEC. (cpp_interpret_string): Use XNEWVEC. (cpp_interpret_string): Use XRESIZEVEC. (_cpp_interpret_identifier): Cast return value of alloca. (_cpp_convert_input): Use XNEWVEC and XRESIZEVEC. * directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC. (parse_include): Use XNEWVEC. (insert_pragma_entry): Rename local variable "new" to "new_entry". (save_registered_pragmas): Cast return value of xmemdup. (destringize_and_run): Same for alloca. (parse_assertion): Likewise. (do_assert): Cast allocated storage to proper type. (cpp_define): Likewise. (_cpp_define_builtin): Likewise. (cpp_undef): Likewise. (handle_assertion): Likewise. (cpp_push_buffer): Rename local variable "new" to "new_buffer". * expr.c (CPP_UPLUS): Cast value to type cpp_ttype. (CPP_UMINUS): Likewise. (struct cpp_operator): Rename from struct operator. (_cpp_expand_op_stack): Use XRESIZEVEC. * files.c (pch_open_file): Use XNEWVEC. (pch_open_file): Use XRESIZEVEC. (read_file_guts): Use XNEWVEC and XRESIZEVEC. (dir_name_of_file): Use XNEWVEC. (make_cpp_file): Use XCNEW. (make_cpp_dir): Likewise. (allocate_file_hash_entries): USE XNEWVEC. (cpp_included): Cast return value of htab_find_with_hash. (append_file_to_dir): Use XNEWVEC. (read_filename_string): Likewise. Use XRESIZEVEC too. (read_name_map): Cast return value of alloca. Use XRESIZEVEC. (remap_filename): Use XNEWVEC. (struct pchf_entry): Move definition out of struct pchf_data. (_cpp_save_file_entries): Use XCNEWVAR. (_cpp_read_file_entries): Use XNEWVAR. * identifiers.c (alloc_node): Use XOBNEW. * init.c (cpp_create_reader): Use XCNEW. (cpp_init_builtins): Cast of b->value to enum builtin_type. (read_original_directory): Cast return value of alloca. * lex.c (add_line_note): Use XRESIZEVEC. (warn_about_normalization): Use XNEWVEC. (_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype). (new_buff): Use XNEWVEC. * line-map.c (linemap_add): Use XRESIZEVEC. * macro.c (builtin_macro): Cast return value of alloca. (paste_tokens): Likewise. (expand_arg): Use XNEWVEC and XRESIZEVEC. (_cpp_save_parameter): Use XRESIZEVEC. (create_iso_definition): Cast allocated storage to proper type. (_cpp_create_definition): Likewise. (cpp_macro_definition): Use XRESIZEVEC. * makedepend.c (add_clm): Use XNEW. (add_dir): Likewise. * mkdeps.c (munge): Use XNEWVEC. (deps_init): Use XCNEW. (deps_add_target): Use XRESIZEVEC. (deps_add_default_target): Cast return value of alloca. (deps_add_dep): Use XRESIZEVEC. (deps_add_vpath): Likewise. Use XNEWVEC too. (deps_restore): Likewise. * pch.c (save_idents): Use XNEW and XNEWVEC. (cpp_save_state): Use XNEW. (count_defs): Cast return value of htab_find. (write_defs): Likewise. (cpp_write_pch_deps): Use XNEWVEC. (collect_ht_nodes): Use XRESIZEVEC. (cpp_valid_state): Use XNEWVEC. (save_macros): Use XRESIZEVEC. Cast return value of xmemdup. * symtab.c (ht_create): Use XCNEW. (ht_lookup_with_hash): Cast return value of obstack_copy0. (ht_expand): Use XCNEWVEC. * system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus. (bool): Do not define if __cplusplus. From-SVN: r100295
283 lines
8.1 KiB
Plaintext
283 lines
8.1 KiB
Plaintext
/* config.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
*/
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define if you want more run-time sanity checks. */
|
|
#undef ENABLE_CHECKING
|
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
language is requested. */
|
|
#undef ENABLE_NLS
|
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
*/
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define to 1 if you have the `clearerr_unlocked' function. */
|
|
#undef HAVE_CLEARERR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `abort', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ABORT
|
|
|
|
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_ASPRINTF
|
|
|
|
/* Define to 1 if you have the declaration of `basename', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_BASENAME
|
|
|
|
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `errno', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ERRNO
|
|
|
|
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fgetc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fileno_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fprintf_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPRINTF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_GETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_GETOPT
|
|
|
|
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_PUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_VASPRINTF
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define to 1 if you have the `feof_unlocked' function. */
|
|
#undef HAVE_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `ferror_unlocked' function. */
|
|
#undef HAVE_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fflush_unlocked' function. */
|
|
#undef HAVE_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fgetc_unlocked' function. */
|
|
#undef HAVE_FGETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fgets_unlocked' function. */
|
|
#undef HAVE_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fileno_unlocked' function. */
|
|
#undef HAVE_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fprintf_unlocked' function. */
|
|
#undef HAVE_FPRINTF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fputc_unlocked' function. */
|
|
#undef HAVE_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fputs_unlocked' function. */
|
|
#undef HAVE_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fread_unlocked' function. */
|
|
#undef HAVE_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fwrite_unlocked' function. */
|
|
#undef HAVE_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `getchar_unlocked' function. */
|
|
#undef HAVE_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `getc_unlocked' function. */
|
|
#undef HAVE_GETC_UNLOCKED
|
|
|
|
/* Define if you have the iconv() function. */
|
|
#undef HAVE_ICONV
|
|
|
|
/* Define to 1 if you have the <iconv.h> header file. */
|
|
#undef HAVE_ICONV_H
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#undef HAVE_LIMITS_H
|
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
#undef HAVE_LOCALE_H
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if libc includes obstacks. */
|
|
#undef HAVE_OBSTACK
|
|
|
|
/* Define to 1 if you have the `putchar_unlocked' function. */
|
|
#undef HAVE_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `putc_unlocked' function. */
|
|
#undef HAVE_PUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
#undef HAVE_STDDEF_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define if <sys/types.h> defines \`uchar'. */
|
|
#undef HAVE_UCHAR
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to the widest efficient host integer type at least as wide as the
|
|
target's size_t type. */
|
|
#undef HOST_WIDE_INT
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
#undef ICONV_CONST
|
|
|
|
/* Define to the name of this package. */
|
|
#undef PACKAGE
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* The size of a `int', as computed by sizeof. */
|
|
#undef SIZEOF_INT
|
|
|
|
/* The size of a `long', as computed by sizeof. */
|
|
#undef SIZEOF_LONG
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at run-time.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
#undef STACK_DIRECTION
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define if you can safely include both <string.h> and <strings.h>. */
|
|
#undef STRING_WITH_STRINGS
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
#undef const
|
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#ifndef __cplusplus
|
|
#undef inline
|
|
#endif
|
|
|
|
/* Define to `long' if <sys/types.h> does not define. */
|
|
#undef off_t
|
|
|
|
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
#undef size_t
|