From: monnier@di.epfl.ch (Stefan Monnier)
Subject: headers for cxx
Date: 21 Nov 1994 16:29:29 GMT [thread overview]
Message-ID: <3aqhta$6av@info.epfl.ch> (raw)
How can I use #include <rpc/rcp.h> with cxx ?
Everytime I try to use, cxx complains whenever I use a fonction
because they are declared as
extern type function();
Which means it doesn't specify the number of parameters, but cxx
understands it as "there are no parameters". (ANSI C avoids the
problem by having func() for old-style C and func(void) for "no
args"). Using 'extern "C"' doesn't seem to help.
Stefan
--------------------------------------------------------------------
-- Suicidez-vous jeune, vous profiterez plus longtemps de la mort --
--------------------------------------------------------------------
reply other threads:[~1994-11-21 16:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox