Package: libc6.1-dev
Version: 2.1.2-6
Severity: important

While researching bug #48533, I found that it's a bug in the headers.
Compiling the following using "gcc -O2 -D_GNU_SOURCE strtest.c":

        #include <string.h>

        int main ()
        {
        }

gives the following errors:

In file included from /usr/include/string.h:346,
                 from strtest.c:2:
                 /usr/include/bits/string2.h: In function `__mempcpy_small':
                 /usr/include/bits/string2.h:363: `__uint8_t' undeclared (first 
use in this function)
                 /usr/include/bits/string2.h:363: (Each undeclared identifier 
is reported only once
                 /usr/include/bits/string2.h:363: for each function it appears 
in.)
                 /usr/include/bits/string2.h:363: parse error before `)'

Both the -O2 and the -D_GNU_SOURCE are essential in reproducing this bug.

-- System Information
Debian Release: potato
Kernel Version: Linux alpha-quadrant 2.2.1-ac5 #1 Sun Feb 7 12:54:28 CET 1999 
alpha unknown

Versions of the packages libc6.1-dev depends on:
ii  libc6.1         2.1.2-6        GNU C Library: Shared libraries and timezone

Reply via email to