Lines 274-284
SET(CMAKE_REQUIRED_FLAGS "-Werror ${Guile_CFLAGS}")
Link Here
|
274 |
SET(CMAKE_REQUIRED_INCLUDES ${Guile_INCLUDE_DIRS}) |
274 |
SET(CMAKE_REQUIRED_INCLUDES ${Guile_INCLUDE_DIRS}) |
275 |
SET(CMAKE_REQUIRED_LIBRARIES ${Guile_LIBRARIES}) |
275 |
SET(CMAKE_REQUIRED_LIBRARIES ${Guile_LIBRARIES}) |
276 |
|
276 |
|
277 |
MESSAGE(STATUS "Checking the size_t of guile strings") |
277 |
MESSAGE(STATUS "Checking the size_t of guile strings") |
278 |
|
278 |
|
279 |
CHECK_C_SOURCE_COMPILES( "#include <guile/gh.h> |
279 |
CHECK_CXX_SOURCE_COMPILES( "#include <guile/gh.h> |
280 |
#include <libguile.h> |
280 |
#include <libguile.h> |
281 |
void print_string (SCM s) { |
281 |
void print_string (SCM s) { |
282 |
int len_r; |
282 |
int len_r; |
283 |
char* r= gh_scm2newstr (s, &len_r); } int main() { return 0; } |
283 |
char* r= gh_scm2newstr (s, &len_r); } int main() { return 0; } |
284 |
" _guile_str_size_test) |
284 |
" _guile_str_size_test) |