aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--builtin.cpp1
-rw-r--r--types.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2558d7b..1d2a677 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ $(BUILD_DIR):
mkdir -p $(BUILD_DIR)
$(BUILD_DIR)/%.o : %.cpp
- $(CXX) -o $@ -c $< -Wall
+ $(CXX) -o $@ -c $< -Wall
clean:
rm -rf $(BUILD_DIR)
diff --git a/builtin.cpp b/builtin.cpp
index 1061478..5e7bc4a 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -1600,5 +1600,6 @@ BUILTIN_PROC_DEF(set_gc_resolve_threshold) {
BUILTIN_PROC_DEF(display) {
ARGS_EXACTLY_ONE;
printf("%s", args->car->ext_repr().c_str());
+ fflush(stdout);
return unspec_obj;
}
diff --git a/types.h b/types.h
index ba593ac..327288d 100644
--- a/types.h
+++ b/types.h
@@ -74,6 +74,7 @@ class ReprCons {/*{{{*/
string repr;
/** The constructor */
ReprCons(bool prim, EvalObj *ori = NULL);
+ ~ReprCons() {}
/** This function is called to get the next component in a complex
* EvalObj
* @param prev Feed the string form of the previous component */