Package: autoconf
Version: 2.65-4
Severity: minor
The following configure.ac fragment
AC_LANG_PUSH(C++)
AC_CHECK_DECL(std::setlocale, [AC_DEFINE([HAVE_SETLOCALE], [], [Define if
setlocale is available in clocale])], , [#include <clocale>])
results in the warning
conftest.cpp:37:12: warning: extra tokens at end of #ifndef directive
in config.log.
The corresponding code is:
#include <clocale>
int
main ()
{
#ifndef std::setlocale
(void) std::setlocale;
#endif
;
return 0;
}
The problem is "#ifndef std::setlocale" where ":" is no proper macro
character. In this case the ifndef can be ommitted.
Jens
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]