1. 26 Jul, 2007 1 commit
  2. 25 Jun, 2005 1 commit
  3. 06 Jun, 2005 1 commit
    • exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format. · 4b794eaf
      gcc/po/
      	* exgettext: Handle gmsgid and cmsgid arguments specially,
      	as gcc-internal-format and c-format.  Because of xgettext
      	bug, invoke xgettext once with --language=c, once with
      	--language=GCC-source and then merge together.  Fail if
      	xgettext is not 0.14.5 or later.
      gcc/
      	* intl.h (G_): New macro.
      	* rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid
      	instead of msgid for argument name.
      	* tree-ssa.c (warn_uninit): Likewise.
      	* c-parser.c (c_parser_error): Likewise.
      	* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
      	* config/darwin-c.c (BAD): Likewise.
      	* config/c4x/c4x-c.c (BAD): Likewise.
      	* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
      	* c-errors.c (pedwarn_c99, pedwarn_c90): Likewise.
      	* c-common.c (c_parse_error): Likewise.
      	* diagnostic.c (diagnostic_set_info, verbatim, inform, warning,
      	warning0, pedwarn, error, sorry, fatal_error, internal_error):
      	Likewise.
      	(fnotice): Use cmsgid instead of msgid for argument name.
      	* gcov.c (fnotice): Likewise.
      	* protoize.c (notice): Likewise.
      	* final.c (output_operand_lossage): Likewise.
      	* gcc.c (fatal, notice): Likewise.
      	(error): Use gmsgid instead of msgid for argument name.
      	* collect2.c (notice, fatal_perror, fatal): Use cmsgid instead
      	of msgid for argument name.
      	(error): Use gmsgid instead of msgid for argument name.
      	* c-decl.c (locate_old_decl, implicit_decl_warning): Use G_()
      	instead of N_().
      	* c-typeck.c (readonly_error, convert_for_assignment): Likewise.
      	* tree-inline.c (inline_forbidden_p_1): Likewise.
      	* ABOUT-GCC-NLS: Require gettext 0.14.5 or later.  Mention the new
      	conventions for marking translations.
      	* doc/install.texi: Mention gettext 0.14.5 or later requirement.
      gcc/cp/
      	* error.c (locate_error): Use gmsgid instead of msgid for argument
      	name.
      	(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
      gcc/java/
      	* jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
      	msgid for argument name.
      	* gjavah.c (error): Likewise.
      	* java-tree.h (parse_error_context): Likewise.
      	* parse.y (parse_error_context, parse_warning_context,
      	issue_warning_error_from_context): Likewise.
      
      From-SVN: r100676
      Jakub Jelinek committed
  4. 24 May, 2004 1 commit
    • intl.h (open_quote, [...]): New. · a668adb2
      	* intl.h (open_quote, close_quote): New.
      	* intl.c (open_quote, close_quote): New.
      	(gcc_init_libintl): Set them.
      	* pretty-print.c: Include "intl.h".
      	(pp_base_format_text): Support 'q' format flag and %` and %'
      	formats.  Use ' instead of ` in comments.
      	* c-format.c (gcc_diag_flag_specs, gcc_cxxdiag_flag_specs,
      	gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table,
      	foramt_types_orig): Describe these new formats.
      	(decode_format_attr, check_function_format,
      	check_format_info_main): Use these new formats.
      	(status_warning): Use ATTRIBUTE_GCC_DIAG.
      	* toplev.c (ATTRIBUTE_GCC_DIAG): Increase required GCC version to
      	check these formats to 3.5.
      
      From-SVN: r82215
      Joseph Myers committed
  5. 04 Sep, 2003 1 commit
  6. 04 Jul, 2003 1 commit
    • intl: New directory; see intl/ChangeLog for details. · 6eb95e99
      top:
      	* intl: New directory; see intl/ChangeLog for details.
      	* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
      	* Makefile.tpl: all-gcc depends on maybe-all-intl.
      	* Makefile.in: Regenerate.
      config:
      	* gettext.m4: New file - copy of gettext.m4 from binutils
      	CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
      gcc:
      	* ABOUT-NLS: Delete.
      	* intl: Delete entire directory.
      	* aclocal.m4: Include ../config/gettext.m4.  Delete
      	AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
      	AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
      	* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
      	Remove intl/Makefile from all_outputs.
      	* configure, config.in: Regenerate.
      	* Makefile.in: Expunge all references to intl subdirectory.
      	Add -I../intl to INCLUDES.
      	* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
      intl:
      	* Makefile.in: Remove unnecessary capabilities for
      	installation, build of shared libraries, generation of
      	distribution tarballs, etc.  Fix all the places that rely on
      	the parent directory.  Don't generate libgnuintl.h from
      	anything; do generate $(objdir)/libintl.h from libgnuintl.h if
      	necessary.  Adjust DEFS for use of config.h.
      	* libgnuintl.h.in: Rename libgnuintl.h.
      	* README: New file.
      	* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
      	* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
      	* aclocal.m4: New; generated per instructions in gettext manual.
      	* configure.in: New; written from scratch for this configuration.
      	* configure, config.h.in: Generated.
      contrib:
      	* gcc_update: Remove gcc/intl/plural.c from list.
      	Add new generated files intl/plural.c, intl/configure,
      	intl/config.h.in.
      
      From-SVN: r68928
      Zack Weinberg committed
  7. 01 Jun, 2003 1 commit
    • genrecog.c: Use ISO C90 prototypes. · 3d7aafde
      	* genrecog.c: Use ISO C90 prototypes.
      	(nodes_identical): Correct declaration to match prototype.
      	(maybe_both_true): Likewise.
      	(merge_trees): Likewise.
      
      	* genpeep.c (gen_peephole): Remove #if 0 code.
      	Use ISO C90 prototypes.
      
      	* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
      	Remove #if 0'ed function simplify_by_alternatives.
      	(optimize_attrs): Remove #if 0'ed code.
      	Remove ^L.
      	Use ISO C90 prototypes.
      	(make_canonical): Remove #if 0'ed code.
      	(convert_const_symbol_ref): Remove #if 0'ed function.
      
      	* gen-protos.c (main): Check for argument.
      
      	* rtl.h: Use ISO C90 prototypes for functions from lists.c.
      
      	* params.h: Use ISO C90 prototypes.
      	* params.c: Likewise.
      	* intl.c: Likewise.
      	* intl.h: Likewise.
      	* lists.c: Likewise.
      	* errors.c: Likewise.
      	* errors.h: Likewise.
      	* gencodes.c: Likewise.
      	* genpreds.c: Likewise.
      	* genattr.c: Likewise.
      	* gen-protos.c: Likewise.
      	* genflags.c: Likewise
      	* genconditions.c: Likewise.
      	* genautomata.c: Likewise.
      	* gencheck.c: Likewise.
      	* genconfig.c: Likewise.
      	* genconstants.c: Likewise.
      	* genemit.c: Likewise.
      	* genextract.c: Likewise.
      	* gengenrtl.c: Likewise.
      	* gengtype.c: Likewise.
      	* gengtype.h: Likewise.
      	* genopinit.c: Likewise.
      	* genoutput.c: Likewise.
      	* gensupport.c: Likewise.
      	* gensupport.h: Likewise.
      
      From-SVN: r67296
      Andreas Jaeger committed
  8. 12 Apr, 2003 2 commits
  9. 19 Oct, 2001 1 commit
    • aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate. · 191bf464
      	* aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
      	USE_INCLUDED_LIBINTL when appropriate.
      	* configure, config.in: Regenerate.
      	* Makefile.in (datadir): Set to @datadir@.
      	(intl.o): Also depend on $(CONFIG_H) and system.h.
      
      	* intl.c: Factor out common gettext initialization sequence.
      	(gcc_init_libintl):  New function.
      	* intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
      	otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
      	off NLS.  Add multiple include guard.  No need to #ifdef-guard
      	an #undef.  Prototype gcc_init_libintl here.
      
      	* collect2.c (main), cppmain.c (general_init), gcc.c (main),
      	gcov.c (main), protoize.c (main), toplev.c (toplev_main):
      	Use gcc_init_libintl.
      
      intl:
      	* Makefile.in: Don't copy libgnuintl.h anywhere.
      
      From-SVN: r46348
      Zack Weinberg committed
  10. 09 Oct, 2001 1 commit
    • acconfig.h: Fix comment formatting. · 19eb1ad7
      	* acconfig.h: Fix comment formatting.
      	* c-dump.h: Likewise.
      	* c-tree.h: Likewise.
      	* conditions.h: Likewise.
      	* expr.h: Likewise.
      	* function.h: Likewise.
      	* gthr.h: Likewise.
      	* hwint.h: Likewise.
      	* integrate.h: Likewise.
      	* intl.h: Likewise.
      	* loop.h: Likewise.
      	* optabs.h: Likewise.
      
      From-SVN: r46131
      Kazu Hirata committed
  11. 02 Aug, 1998 1 commit