Displaying 1 result from an estimated 1 matches for "deconstification".
2007 Mar 15
1
[PATCH] fix gcc warnings in 1.0rc26
...lain(request, pass,
+ auth_request_verify_plain(request, pass == NULL ? "" : pass,
In other 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......