Mail Archives: pgcc/1998/03/24/23:54:17
Hello,
I just installed pgcc-2.90.23 980102 (egcs-1.0.1 release) today in an
effort to resolve a bug I thought gcc was producing. It appears to have
solved it. If it crops up again, I'll let you guys know. But right now
I get the following message that I did not used to get with gcc-2.7.2.
In file included from
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/pgcc-2.90.23/include/g++/iostream.h:31,
from sockit.C:2:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/pgcc-2.90.23/include/g++/streambuf.h:394:
warning: invalid type `void *' for default argument to `ios *'
In file included from sockit.C:2:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/pgcc-2.90.23/include/g++/iostream.h:50:
warning: invalid type `void *' for default argument to `ostream *'
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/pgcc-2.90.23/include/g++/iostream.h:123:
warning: invalid type `void *' for default argument to `ostream *'
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/pgcc-2.90.23/include/g++/iostream.h:230:
warning: invalid type `void *' for default argument to `ostream *'
Is this because I'm defining the function in question as extern "C" void
*fn()?
I need to define it as such in order to use the linuxthreads-0.71
library. By the way, how well do you folks support threads?
Thanks,
Dave Topper
--
Technical Director, Virginia Center for Computer Music
Programmer / Analyst, Dean's Office (School of A&S)
- Raw text -