On Tue, Oct 03, 2000 at 01:04:12PM +0200, Morten Eriksen wrote:
: Akim Demaille <[EMAIL PROTECTED]> 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