Displaying 2 results from an estimated 2 matches for "wconst".
Did you mean:
const
2006 Dec 22
6
[PATCH] two missing bits (was Re: Add -Wcast-qual flag)
Hi!
I catched two pieces with debug and crash_debug enabled.
One of them fixes a build error even without the -Wcast-qual flag.
Patch attached.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Mar 15
1
[PATCH] fix gcc warnings in 1.0rc26
...ther sources, I added "const" to parameters or to the return value
where it seemed to make sense and didn't cause harm. Dealing with the
const problem can be tricky, and sometimes dirty deconstification
hacks are the only way to go.. however I believe we should always
turn on "-Wconst" and explicitly add manual deconstitication where we
assume it's not dangerous.
I didn't fix all "const" and "missing noreturn" warnings, but my
patches may be a good start... if there is further interest in fixing
all of them, I'd be glad to do it.
Max
----...