[Mockpp-commits] mockpp configure.in,1.71,1.72
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-04-02 20:46:08
|
Update of /cvsroot/mockpp/mockpp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3635 Modified Files: configure.in Log Message: more fixes for msvc6 Index: configure.in =================================================================== RCS file: /cvsroot/mockpp/mockpp/configure.in,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- configure.in 2 Apr 2005 14:15:24 -0000 1.71 +++ configure.in 2 Apr 2005 20:45:27 -0000 1.72 @@ -45,7 +45,7 @@ AC_CONFIG_AUX_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(mockpp, $MOCKPP_VERSION-rc3) +AM_INIT_AUTOMAKE(mockpp, $MOCKPP_VERSION-rc4) AC_SUBST(all_includes) AC_SUBST(all_libraries) @@ -312,10 +312,10 @@ AC_LANG_CPLUSPLUS cat > conftest.$ac_ext <<EOF -#include <string> +#include <cwchar> int main() { - std::wcscmp(0); + std::wcscmp(0, 0); } EOF @@ -384,6 +384,10 @@ AH_TEMPLATE([MOCKPP_PTI_WEAKNESS], [Turn on support for weak template capabilities.]) +AH_TEMPLATE([MOCKPP_UNUSED], +[Define to something that supresses compiler warnings about unused variables.\n +MOCKPP_UNUSED(x) (x = x); ]) + # ---------------------------------------------------------------------------- AC_OUTPUT(\ |