Hi,
I had to replace a few calls to cl_alloc_adjustable_base_string by calls
to ecl_alloc_adjustable_base_string to make ECL build without
"--enable-unicode".
(configure flags --enable-c99complex --enable-gengc --enable-longdouble
led to undefined references when linking libeclmin.a)
Thanks,
diff --git a/src/c/file.d b/src/c/file.d
index 0f179c1..b6d55f4 100644
--- a/src/c/file.d
+++ b/src/c/file.d
@@ -1465,7 +1465,7 @@ ecl_make_string_output_stream(cl_index line_length, int extended)
ecl_alloc_adjustable_extended_string(line_length) :
ecl_alloc_adjustable_base_string(line_length);
#else
- cl_object s = cl_alloc_adjustable_base_string(line_length);
+ cl_object s = ecl_alloc_adjustable_base_string(line_length);
#endif
return si_make_string_output_stream_from_string(s);
}
diff --git a/src/c/format.d b/src/c/format.d
index 91c1105..379c8c7 100644
--- a/src/c/format.d
+++ b/src/c/format.d
@@ -2108,7 +2108,7 @@ DIRECTIVE:
#ifdef ECL_UNICODE
strm = ecl_alloc_adjustable_extended_string(64);
#else
- strm = cl_alloc_adjustable_base_string(64);
+ strm = ecl_alloc_adjustable_base_string(64);
#endif
null_strm = 1;
} else if (strm == Ct) {
diff --git a/src/c/read.d b/src/c/read.d
index a48d1b8..d882fbc 100644
--- a/src/c/read.d
+++ b/src/c/read.d
@@ -60,7 +60,7 @@ si_get_buffer_string()
#ifdef ECL_UNICODE
output = ecl_alloc_adjustable_extended_string(ECL_BUFFER_STRING_SIZE);
#else
- output = cl_alloc_adjustable_base_string(ECL_BUFFER_STRING_SIZE);
+ output = ecl_alloc_adjustable_base_string(ECL_BUFFER_STRING_SIZE);
#endif
} else {
output = CAR(pool);
@@ -87,7 +87,7 @@ si_put_buffer_string(cl_object string)
#ifdef ECL_UNICODE
string = ecl_alloc_adjustable_extended_string(ECL_BUFFER_STRING_SIZE);
#else
- string = cl_alloc_adjustable_base_string(ECL_BUFFER_STRING_SIZE);
+ string = ecl_alloc_adjustable_base_string(ECL_BUFFER_STRING_SIZE);
#endif
}
TOKEN_STRING_FILLP(string) = l+1;
--
Eric Marsden
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list