remove bad cast

This commit is contained in:
mike dupont 2023-12-10 17:04:51 -05:00
parent 9592bc5676
commit ad7fc5450e
2 changed files with 4 additions and 3 deletions

View file

@ -116,8 +116,8 @@ endif
# keep standard at C11 and C++11
MK_CPPFLAGS = -I. -Icommon -I/usr/local/lib/ocaml/
MK_CFLAGS = -std=c11 -fPIC
MK_CXXFLAGS = -std=c++17 -fPIC -fpermissive
MK_CFLAGS = -std=c11 -fPIC -g
MK_CXXFLAGS = -std=c++17 -fPIC -fpermissive -g
# -Ofast tends to produce faster code, but may not be available for some compilers.
ifdef LLAMA_FAST

View file

@ -84,7 +84,8 @@ std::string process_output_plugin_ocaml(const std::string start,
//
value result= caml_callback( *step_fn, ocamlString );
std::string resultString = String_val(result);
std::string resultString = "todo";
//String_val(result);
return resultString;
}