Package: gcc-3.0 Version: 1:3.0.1-0pre010811 Severity: normal Hello,
I encountered some very strange behaviour when using -I/usr/include. Obviously, it doesn't make much sense to supply this switch on the command line, but in any case gcc's reaction is wrong. (I came across this because libwww-config happens to include -I/usr/include in its --cflags output.) > echo '#include <string>' >x.cc > touch string.hh > g++-3.0 -I/usr/include -c x.cc -o x.o In file included from /usr/include/g++-v3/bits/char_traits.h:39, from /usr/include/g++-v3/bits/std_string.h:41, from /usr/include/g++-v3/string:31, from x.cc:1: /usr/include/g++-v3/bits/std_cstring.h:40:25: string.h: No such file or directory In file included from /usr/include/g++-v3/bits/char_traits.h:39, from /usr/include/g++-v3/bits/std_string.h:41, from /usr/include/g++-v3/string:31, from x.cc:1: /usr/include/g++-v3/bits/std_cstring.h:68: `memcpy' not declared /usr/include/g++-v3/bits/std_cstring.h:69: `memmove' not declared /usr/include/g++-v3/bits/std_cstring.h:70: `strcpy' not declared /usr/include/g++-v3/bits/std_cstring.h:71: `strncpy' not declared /usr/include/g++-v3/bits/std_cstring.h:72: `strcat' not declared /usr/include/g++-v3/bits/std_cstring.h:73: `strncat' not declared [...] -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux elessar 2.2.19 #1 Mon May 21 19:42:05 CEST 2001 i686 Locale: LANG=C, LC_CTYPE=de_DE Versions of packages gcc-3.0 depends on: ii binutils 2.11.90.0.31-1 The GNU assembler, linker and bina ii cpp-3.0 1:3.0.1-0pre010811 The GNU C preprocessor. ii gcc-3.0-base 1:3.0.1-0pre010811 The GNU Compiler Collection (base ii libc6 2.2.4-1 GNU C Library: Shared libraries an ii libgcc1 1:3.0.1-0pre010811 GCC support library.