remove bad cast
This commit is contained in:
parent
9592bc5676
commit
ad7fc5450e
2 changed files with 4 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -116,8 +116,8 @@ endif
|
||||||
|
|
||||||
# keep standard at C11 and C++11
|
# keep standard at C11 and C++11
|
||||||
MK_CPPFLAGS = -I. -Icommon -I/usr/local/lib/ocaml/
|
MK_CPPFLAGS = -I. -Icommon -I/usr/local/lib/ocaml/
|
||||||
MK_CFLAGS = -std=c11 -fPIC
|
MK_CFLAGS = -std=c11 -fPIC -g
|
||||||
MK_CXXFLAGS = -std=c++17 -fPIC -fpermissive
|
MK_CXXFLAGS = -std=c++17 -fPIC -fpermissive -g
|
||||||
|
|
||||||
# -Ofast tends to produce faster code, but may not be available for some compilers.
|
# -Ofast tends to produce faster code, but may not be available for some compilers.
|
||||||
ifdef LLAMA_FAST
|
ifdef LLAMA_FAST
|
||||||
|
|
|
@ -84,7 +84,8 @@ std::string process_output_plugin_ocaml(const std::string start,
|
||||||
//
|
//
|
||||||
|
|
||||||
value result= caml_callback( *step_fn, ocamlString );
|
value result= caml_callback( *step_fn, ocamlString );
|
||||||
std::string resultString = String_val(result);
|
std::string resultString = "todo";
|
||||||
|
//String_val(result);
|
||||||
return resultString;
|
return resultString;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue