Package: gcc-4.1
Version: 4.1.1-21
Severity: important

$ cat test.c 
int f() { foo; }

$ gcc -c test.c 
test.c: In function â:
test.c:1: error: â undeclared (first use in this function)
test.c:1: error: (Each undeclared identifier is reported only once
test.c:1: error: for each function it appears in.)

This kind of errors appears only on x86_64 only, same code on x86 only 
give
this output :

$ gcc -c test.c 
test.c: In function 'f':
test.c:1: error: 'foo' undeclared (first use in this function)
test.c:1: error: (Each undeclared identifier is reported only once
test.c:1: error: for each function it appears in.)

/Xavier

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gcc-4.1 depends on:
ii  binutils                    2.17-3       The GNU assembler, linker and 
bina
ii  cpp-4.1                     4.1.1-21     The GNU C preprocessor
ii  gcc-4.1-base                4.1.1-21     The GNU Compiler Collection 
(base 
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared 
libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libssp0                     4.1.1-21     GCC stack smashing protection 
libr

Versions of packages gcc-4.1 recommends:
ii  libc6-dev                   2.3.6.ds1-13 GNU C Library: Development 
Librari
pn  libmudflap0-dev             <none>       (no description available)

-- no debconf information

Reply via email to