From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,81eecb8e2a704c39,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-21 10:23:14 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!epflnews!monnier From: monnier@di.epfl.ch (Stefan Monnier) Newsgroups: comp.unix.osf.osf1 Subject: headers for cxx Date: 21 Nov 1994 16:29:29 GMT Organization: Ecole Polytechnique Federale de Lausanne Message-ID: <3aqhta$6av@info.epfl.ch> NNTP-Posting-Host: didec4.epfl.ch How can I use #include 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 -- --------------------------------------------------------------------