From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <494979C5.9040604@kix.es> Date: Wed, 17 Dec 2008 23:14:29 +0100 From: Rodolfo kix Garcia User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <95568f93ecebea5f9de8bbf366d7325d.squirrel@webmail.kix.es> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] 9P in C++ Topicbox-Message-UUID: 65227b5c-ead4-11e9-9d60-3106f5b1d025 Pietro Gagliardi escribi=F3: > Given > > extern "C"{ > #include <9p.h> // or whatever you do > } > > you can link 9p into a C++ program easily. > Yes! If I use the extern "C" it compiles :'-) Using "extern function" is not valid for linking C and C++ Sorry Pietro, sqweek. Thanks a lot.