[haiku-development] Re: Aw: Re: Source-level incompatibility in iconv.h

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 28 Oct 2008 14:31:07 +0100

On 2008-10-28 at 14:05:22 [+0100], François Revol <revol@xxxxxxx> wrote:
> 
[ ... ]
> Does the header have proper C++ guards ?

Yes it does (it applies an extern "C" scope in C++-mode).

> It should be used with C linkage, which shouldn't pose a problem,
> unless C++ has different rules about it, which wouldn't surprise me.

Obviously, those rules are indeed different in C++, since even gcc-4.2 
behaves the same (i.e. prints a warning in C and chokes in C++).

cheers,
    Oliver

Other related posts: