autoconf
[Top][All Lists]
Advanced

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

Re: [PATCH] Serious problem with Autoconf on RedHat 7


From: Lars J. Aas
Subject: Re: [PATCH] Serious problem with Autoconf on RedHat 7
Date: Tue, 3 Oct 2000 13:42:00 +0200

On Tue, Oct 03, 2000 at 01:04:12PM +0200, Morten Eriksen wrote:
: Akim Demaille <address@hidden> writes:
: > |  define([AC_LANG_SOURCE(C++)],
: > |  [#line __oline__ "configure"
: > |  #include "confdefs.h"
: > | -#ifdef __cplusplus
: > | -extern "C" void exit (int);
: > | -#endif
: > |  $1])
:
: BTW, the ``#ifdef __cplusplus'' also looks strange, given that the
: macro name AC_LANG_SOURCE(C++) seems to assert that we are always
: using a C++ compiler to compile the generated source file?

I agree.  I'd see more point in

  #ifndef __cplusplus
  #error something
  #endif

  Lars J



reply via email to

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