~ chicken-core (chicken-5) 61bc2c11488c512294eba54ecc93b20b3f42b7ce
commit 61bc2c11488c512294eba54ecc93b20b3f42b7ce
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Mon Dec 25 15:41:36 2017 +0100
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Mon Dec 25 15:41:36 2017 +0100
Use C_text for strings in C_trace invocations to silence C++ mode warnings
diff --git a/c-backend.scm b/c-backend.scm
index 1f399de3..81a98c35 100644
--- a/c-backend.scm
+++ b/c-backend.scm
@@ -272,7 +272,7 @@
(gen #t "C_debugger(&(C_debug_info[" dbi "]),"
(if non-av-proc "0,NULL" "c,av") ");")))
(emit-trace-info
- (gen #t "C_trace(\"" (backslashify name-str) "\");"))
+ (gen #t "C_trace(C_text(\"" (backslashify name-str) "\"));"))
(else
(gen #t "/* " (uncommentify name-str) " */") ) ) )
(cond ((eq? '##core#proc (node-class fn))
Trap