Subject: | complie parse error on _set_errmsg function |
Chm.xs:90: warning: passing argument 1 of '_set_errmsg' from
incompatible pointer type
Chm.xs:90: error: too few arguments to function '_set_errmsg'
add on Chm.pm line 185 to _set_errmsg(obj,"No error whatsoever");
will resolved problem
Subject: | Chm.pm.patch |
--- Chm.pm.old 2006-02-21 09:36:52.000000000 +0800
+++ Chm.pm 2006-02-21 09:28:15.000000000 +0800
@@ -182,7 +182,7 @@ SV* new(char* class, char* filename)
chmfile->is_open = 1;
chmfile->error = 0;
- _set_errmsg("No error whatsoever");
+ _set_errmsg(obj,"No error whatsoever"); /* Tasuka */
chmfile->filename = strdup(filename);
sv_setiv(obj, (IV)chmfile);
@@ -1091,4 +1091,4 @@ Copyright (C) 2005 Alexandru Palade, Net
All rights reserved.
-=cut
+=cut
\ No newline at end of file