Package: g++-3.0
Version: 1:3.0-4
Severity: normal
With g++ 3.0 if you have "-I/usr/include" on the command line,
"#include " does not work properly.
Since `gtkmm-config --cflags` includes this automatically it is a problem.
[EMAIL PROTECTED]:~$ cat teststring.cc
#include
int main () {
return 0;
}
[EMAIL PROTECTED]:~$ gcc-3.0 -c teststring.cc -o teststring
[EMAIL PROTECTED]:~$ gcc-3.0 -I/usr/include -c teststring.cc -o teststring
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 teststring.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 teststring.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
/usr/include/g++-v3/bits/std_cstring.h:74: `memcmp' not declared
/usr/include/g++-v3/bits/std_cstring.h:75: `strcmp' not declared
/usr/include/g++-v3/bits/std_cstring.h:76: `strcoll' not declared
/usr/include/g++-v3/bits/std_cstring.h:77: `strncmp' not declared
/usr/include/g++-v3/bits/std_cstring.h:78: `strxfrm' not declared
/usr/include/g++-v3/bits/std_cstring.h:79: `strcspn' not declared
/usr/include/g++-v3/bits/std_cstring.h:80: `strspn' not declared
/usr/include/g++-v3/bits/std_cstring.h:81: `strtok' not declared
/usr/include/g++-v3/bits/std_cstring.h:82: `memset' not declared
/usr/include/g++-v3/bits/std_cstring.h:83: `strerror' not declared
/usr/include/g++-v3/bits/std_cstring.h:84: `strlen' not declared
/usr/include/g++-v3/bits/std_cstring.h:86: `memchr' not declared
/usr/include/g++-v3/bits/std_cstring.h: In function `void* std::memchr(void*,
int, unsigned int)':
/usr/include/g++-v3/bits/std_cstring.h:90: cannot convert `const void*' to
`void*' for argument `1' to `void* std::memchr(void*, int, unsigned int)'
/usr/include/g++-v3/bits/std_cstring.h: At global scope:
/usr/include/g++-v3/bits/std_cstring.h:92: `strchr' not declared
/usr/include/g++-v3/bits/std_cstring.h:98: `strpbrk' not declared
/usr/include/g++-v3/bits/std_cstring.h:104: `strrchr' not declared
/usr/include/g++-v3/bits/std_cstring.h:110: `strstr' not declared
In file included from /usr/include/g++-v3/bits/fpos.h:40,
from /usr/include/g++-v3/bits/char_traits.h:40,
from /usr/include/g++-v3/bits/std_string.h:41,
from /usr/include/g++-v3/string:31,
from teststring.cc:1:
/usr/include/g++-v3/bits/std_cwchar.h:42:24: wchar.h: No such file or directory
In file included from /usr/include/g++-v3/bits/fpos.h:40,
from /usr/include/g++-v3/bits/char_traits.h:40,
from /usr/include/g++-v3/bits/std_string.h:41,
from /usr/include/g++-v3/string:31,
from teststring.cc:1:
/usr/include/g++-v3/bits/std_cwchar.h:59: `mbstate_t' not declared
/usr/include/g++-v3/bits/std_cwchar.h:125: `btowc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:126: `fgetwc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:127: `fgetws' not declared
/usr/include/g++-v3/bits/std_cwchar.h:128: `fputwc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:129: `fputws' not declared
/usr/include/g++-v3/bits/std_cwchar.h:130: `fwide' not declared
/usr/include/g++-v3/bits/std_cwchar.h:131: `fwprintf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:132: `fwscanf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:133: `getwc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:134: `getwchar' not declared
/usr/include/g++-v3/bits/std_cwchar.h:135: `mbrlen' not declared
/usr/include/g++-v3/bits/std_cwchar.h:136: `mbrtowc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:137: `mbsinit' not declared
/usr/include/g++-v3/bits/std_cwchar.h:138: `mbsrtowcs' not declared
/usr/include/g++-v3/bits/std_cwchar.h:139: `putwc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:140: `putwchar' not declared
/usr/include/g++-v3/bits/std_cwchar.h:141: `swprintf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:142: `swscanf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:143: `ungetwc' not declared
/usr/include/g++-v3/bits/std_cwchar.h:144: `vfwprintf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:145: `vfwscanf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:146: `vswprintf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:147: `vswscanf' not declared
/usr/include/g++-v3/bits/std_cwchar.h:148: `vwprintf'