This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: NLS related patches
Philipp Thomas wrote:
>
> * Philipp Thomas (pthomas@suse.de) [20000629 00:49]:
>
> > So I've taken out the patches for both print-rtl.c and for bb-reorder.c
> > and left only those patches in that deal with "normal" warning/error/help.
>
> I've committed these:
>
> 2000-06-28 Philipp Thomas <pthomas@suse.de>
>
> * c-decl.c : Mark strings for translation.
> (parmlist_tags_warning): Use distinct messages instead
> of conditional expressions.
> * diagnostic.c (v_message_with_decl): Mark string for translation.
> * gcc.c: Mark messages for translation.
> (display_help): Combine messages into one string where necessary.
> * mips-tfile.c: Add intl.h. Mark messages for translation.
> * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
> messages for translation.
> * timevar.c: Mark messages for translation.
> * tlink.c: Likewise.
> * toplev.c: Likewise.
This patch breaks bootstrap because rtl.o doesn't include intl.h:
gcc -DIN_GCC -DSVR4 -g -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o genattr \
genattr.o rtl.o bitmap.o ggc-none.o gensupport.o print-rtl.o errors.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
rtl.o: In function `fatal_with_file_and_line':
rtl.o(.text+0x1c24): undefined reference to `_'
rtl.o(.text+0x1da8): undefined reference to `_'
collect2: ld returned 1 exit status
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70