Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* headers for cxx
@ 1994-11-21 16:29 Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 1994-11-21 16:29 UTC (permalink / 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 --
--------------------------------------------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-11-21 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-21 16:29 headers for cxx Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox