Don't require a C++ compiler.

This commit is contained in:
Andreas Schneider 2009-03-18 10:55:14 +01:00
parent 7ad9628a24
commit 0634e0fdea
7 changed files with 13 additions and 8 deletions

View file

@ -1,4 +1,4 @@
project(client)
project(client C)
set(CLIENT_PUBLIC_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}

View file

@ -1,4 +1,4 @@
#
project(doc C)
# Build the documentation
#

View file

@ -1,4 +1,4 @@
project(modules)
project(modules C)
find_package(Libsmbclient REQUIRED)
find_package(LIBSSH)

View file

@ -1,4 +1,4 @@
project(libcsync)
project(libcsync C)
add_subdirectory(std)

View file

@ -1,4 +1,4 @@
project(cstdlib)
project(cstdlib C)
set(CSTDLIB_PUBLIC_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}

View file

@ -1,4 +1,4 @@
project(tests)
project(tests C)
set(SUPPORT_LIBRARY support)

View file

@ -166,8 +166,13 @@ START_TEST (check_c_jhash64_trials)
if (k>z) z=k;
if (k==MAXPAIR) {
printf("Some bit didn't change: ");
printf("%.8lx %.8lx %.8lx %.8lx %.8lx %.8lx ",
e[0],f[0],g[0],h[0],x[0],y[0]);
printf("%.8llx %.8llx %.8llx %.8llx %.8llx %.8llx ",
(long long unsigned int) e[0],
(long long unsigned int) f[0],
(long long unsigned int) g[0],
(long long unsigned int) h[0],
(long long unsigned int) x[0],
(long long unsigned int) y[0]);
printf("i %d j %d m %d len %d\n",
(uint32_t)i,(uint32_t)j,(uint32_t)m,(uint32_t)hlen);
}