Closed lexblagus closed 9 years ago
About the unused variable _argn
, you can apply this patch at macros.h
:
diff --git a/macros.h b/macros.h
index 195b3c7..df36348 100644
--- a/macros.h
+++ b/macros.h
@@ -100,7 +100,7 @@ using namespace v8;
#define FUNCTION_DECL(f) static v8::Handle<v8::Value> f(const v8::Arguments&);
#define FUNCTION(f,...) static v8::Handle<v8::Value> f(const v8::Arguments& args) { \
v8::HandleScope handlescope; \
- int _argn=0; \
+ \
__VA_ARGS__;
#define FUNCTION_C(f) static v8::Handle<v8::Value> f(const v8::Arguments& args) {
#define END }
Same warnings for me
It works fine, but I got a lot of messagens on installing:
NodeJs 0.10.15 on MacOS 10.8.4. I intend to use this lib as a template engine in a production site. It would be great to have a clean and trustable lib to rely on.
thanks a bunch.