www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/03/24/23:54:17

X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs-
Delivered-To: pcg AT goof DOT com
Message-ID: <35184694.8509FD63@virginia.edu>
Date: Tue, 24 Mar 1998 18:49:40 -0500
From: Dave Topper <topper AT virginia DOT edu>
Organization: VCCM
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.30 i586)
MIME-Version: 1.0
To: pgcc-list AT Desk DOT nl
Subject: Include error
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 32

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019