Justin Erenkrantz wrote:
--On Thursday, January 30, 2003 10:54 AM -0500 Jeff Trawick wrote:> Unfortunately I haven't been tracking warnings in 2.1-dev lately so > I didn't see this until it was merged... > > Untested! Um, I guess. What exactly was the warning?
using const ptr to modify storage; here is Tru64 native compiler
RH 8 gcc had something similar
*********make.stderr.diff*********
28a29,34
>> cc: Warning: util.c, line 1086: In this statement, "given_etag[0]" has const-qualified type, but occurs in a context that requires a modifiable lvalue. (neednonconst)
>> given_etag[0] = '"';
>> --------------------^
>> cc: Warning: util.c, line 1096: In this statement, "current_etag[0]" has const-qualified type, but occurs in a context that requires a modifiable lvalue. (neednonconst)
>> current_etag[0] = '"';
>> --------------------^
*****************************************
Boy, it'd be easier to review if you used unified-diffs. =) --
whoops, forgot to copy .cvsrc from a "good" machine :)