Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111010204946.e90ac65a.idunham@lavabit.com>
Date: Mon, 10 Oct 2011 20:49:46 -0700
From: Isaac Dunham <idunham@...abit.com>
To: musl@...ts.openwall.com
Subject: Re: missing extern "C" block

On Mon, 10 Oct 2011 18:44:49 +0200
Szabolcs Nagy <nsz@...t70.net> wrote:

> while we are fixing c++ compatibility
> some headers with function prototypes
> do not have extern "C" block for c++

<snip list>

I'm certainly not saying that this is the right way to handle it, but this is what GNU libc uses __BEGIN_DECLS & __END_DECLS for (in sys/cdefs.h).  

-- 
Isaac Dunham <idunham@...abit.com>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.