[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#227193: toplev.c:4563-4567: gettext interprets the two conditional strings as one



Package: gcc-3.3
Version: 1:3.3.3-0pre0
Severity: normal

I'm currently translating gcc-3.3 into german. At toplev.c:4563, there
is the following code:

notice(
#ifdef ONE_SYSTEM
    "first string",
#else
    "second string",
#endif

These two strings are interpreted by gettext-0.12 as one string, which
makes translating it impossible. The source code of gcc-3.3 should be
changed at this point. Also note that »notice« could be defined as a
macro, which would make this code illegal. (see the gcc bugs page for
more details :)

Roland

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wwid 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (ignored: LC_ALL set to de_DE@euro)

Versions of packages gcc-3.3 depends on:
ii  binutils                   2.14.90.0.7-3 The GNU assembler, linker and bina
ii  cpp-3.3                    1:3.3.3-0pre0 The GNU C preprocessor
ii  gcc-3.3-base               1:3.3.3-0pre0 The GNU Compiler Collection (base 
ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.3-0pre1 GCC support library

-- no debconf information




Reply to: