Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 1995 14:49:34 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@freefall.cdrom.com, mrami@mramirez.sy.yale.edu
Subject:   Re: bin/242:
Message-ID:  <199503140449.OAA10358@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>Description:

>public prototypes do not include 'extern "C" { ... }' when compiled
>with C++ compiler

>I'm not savvy enough to know the "correct" solution; for now, I've
>just put #ifdef _CPLUSPLUS's

This is supposed to be handled using the __BEGIN_DECLS and __END_DECLS
macros, but some headers apparently don't know about this.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503140449.OAA10358>