autoconf-patches
[Top][All Lists]
Advanced

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

Re: C++ fix and test


From: Pavel Roskin
Subject: Re: C++ fix and test
Date: Mon, 18 Dec 2000 01:55:45 -0500 (EST)

On 18 Dec 2000, Alexandre Oliva wrote:

> On Dec 18, 2000, Pavel Roskin <address@hidden> wrote:
>
> >     * aclang.m4: (AC_LANG_SOURCE(C++)): Don't declare exit().
> >     Define it as a macro.
>
> I'd rather just have something like:
>
> #ifdef __cplusplus
> #include <stdlib.h>
> #endif

Shouldn't this be safer:

#ifdef __cplusplus
extern "C" {
#include <stdlib.h>
}
#endif

Regards,
Pavel Roskin




reply via email to

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