Re: nfs-utils 1.0.9-rc1 - hopefully -final in a week
From: Neil Brown <hidden>
Date: 2006-07-04 08:36:59
On Tuesday July 4, gnb@melbourne.sgi.com wrote:
On Tue, 2006-07-04 at 17:47, Neil Brown wrote:quoted
The only place that the 'i' variable is used is in code generated by emit_inline, and that is already in a local block where 'genp' is declared. We can just declare 'i' at the same time. I'll add that to your patch and stick it in .gitYep. That leaves just two warnings. The first is the whiny message about the result of IXDR_PUT_SHORT() not being used. I can't see any way around that except a (void) cast, like this:
That'll do.
Then there's the type-punned pointer warning. I hate those.
Here is a trick that google helped me find. I hope it isn't worse that the disease :-) All in .git now, thanks. NeilBrown
@@ -266,7 +264,8 @@ print_ifstat(int indent, char *prefix, c } else { print_ifopen(indent, "array"); } - print_ifarg("(char **)"); + /* The (void*) avoids a gcc-4.1 warning */ + print_ifarg("(char **)(void*)"); if (*objname == '&') { f_print(fout, "%s.%s_val, (u_int *)%s.%s_len", objname, name, objname, name);
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs