Hi:
I use gcc to build some simple program like
this
// aa.c
#include
main()
{
printf("hello");
}
gcc report a error:
aa.c:1: stdio.h: No sch file or directory.
//bb.c
main()
{
}
gcc report a error:
/usr/bin/ld: cannot open crt1.o: No such file or
directory
collect2: ld returned 1
Package: libstdc++3-dev
Version: 1:3.0.4-1
Severity: important
The following code will segment fault with the installed libstdc++ and
g++-3.0. It runs correctly on the 2.9x compiler with the v2.10 of
libstdc++. Note that the substr line, a replacement for erase, also
fails with the 3.0 compiler
in my c++ program i write:
XtAddCallback(entry, XtNcallback, print_string, "one");
g++ 2.9 complains:
xzip.cpp: In function `int main(int, char **)':
xzip.cpp:35: passing `const char *' as argument 4 of
`XtAddCallback(_WidgetRec *, const char *,
void (*)(_WidgetRec *, void *, void *), void *)' d
4 matches
Mail list logo