From: Eric George <ergeorge@worldnet.att.net>
Newsgroups: comp.parallel.pvm
Subject: C++ pvm3.h compile error
Date: 12 Mar 1999 19:21:16 GMT
Organization: AT&T WorldNet Services
Message-Id: <36E95AF9.5291E639@worldnet.att.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.pvm:8108


Hi,
I've run into the following problem.

I'm trying to add a packing routine to an existing vector class.  When I
try to compile it:

g++ vector.cc -c                (g++ is the Gnu C++ compiler on Linux
(Redhat 5.2))

I get the following error:

In file included from vector.h:10,
                 from vector.cc:9:
/usr/pvm3/include/pvm3.h:446: `FILE' was not declared in this scope
/usr/pvm3/include/pvm3.h:446: parse error before `)'

When I go look in pvm3.h  (v3.4Beta) I find the offending lines are:

#if defined(EOF)
int pvm_catchout __ProtoGlarp__(( FILE * ));
#endif

I grep'ed the include directory, and this is the only place FILE ever
occurs??
Ideas?
Thanks
Eric

