This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: casting const aways shouldn't be an error even with -pedantic-errors


> The following code gives an error with -pedantic-errors -Wconst-qual.  It 
> should only be a warning.

Thanks for your bug report. I cannot reproduce this bug with either
1.1.2, or 2.95.2; I always get a warning only. Your report was
somewhat confusing (e.g. -Wconst-qual is not an option), so perhaps I
was trying the wrong test case.

Regards,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]