Revert "no promises, no typed varargs (make lib compile)"
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 26 Apr 2019 21:25:45 +0000 (23:25 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 26 Apr 2019 21:25:45 +0000 (23:25 +0200)
This reverts commit cee83985e3adc137911beaaa9196cc6800912cd0.

qcsrc/lib/_all.inc
qcsrc/lib/log.qh

index c67e625..ab74531 100644 (file)
 #include "oo.qh"
 #include "p2mathlib.qc"
 #include "progname.qh"
-//#include "promise.qc"
+#include "promise.qc"
 #include "random.qc"
 #include "registry.qh"
 #include "registry_net.qh"
index 3236d0e..94a58d0 100644 (file)
@@ -35,9 +35,9 @@ void print_assertfailed_fatal(string expr);
 
 
 #if defined(MENUQC)
-string(string, ...) strcat1n = #53;
+string(string, string...) strcat1n = #53;
 #else
-string(string, ...) strcat1n = #115;
+string(string, string...) strcat1n = #115;
 #endif
 
 // would be nice if __FUNC__ could be concatenated at compile time