This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
970929 g++ fails to include <rpc/xdr.h>
- To: EGCS <egcs at cygnus dot com>
- Subject: 970929 g++ fails to include <rpc/xdr.h>
- From: Marko Vendelin <markov at ioc dot ee>
- Date: Wed, 8 Oct 1997 09:46:35 +0300 (EET)
g++ (970929) fails to compile the code that includes
<rpc/xdr.h>. For example, when I tried to compile
--------------------------------------------------
#include <rpc/types.h>
#include <rpc/xdr.h>
main()
{
}
--------------------------------------------------
g++ generated :
prompt> c++ -c xdr.C
In file included from xdr.C:2:
/usr/include/rpc/xdr.h:257: declaration of `operator ++' as non-function
/usr/include/rpc/xdr.h:257: confused by earlier errors, bailing out
My configuration:
Linux/Alpha, RedHat 4.2, only compilers of egcs are installed (no libs)
marko