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

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun Mar 5 03:07:00 GMT 2000


> 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


More information about the Gcc-bugs mailing list