bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: avoid using casts whenever possible [Re: gnulib/lib


From: Bruno Haible
Subject: Re: [Bug-gnulib] Re: avoid using casts whenever possible [Re: gnulib/lib error.c
Date: Wed, 1 Oct 2003 12:08:28 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> I don't use Windows DLLs, so I don't know the constraints here.
>
> Isn't extern "C" the normal way to tell a C++ compiler that it is
> compiling C code?  If we put
>
> #ifdef __cplusplus__
> extern "C" {
> #endif
>
> in gnulib headers, would that solve your problems with Windows DLLs?

Yes this solves half of the problems. See
http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00191.html for details.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]