This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: casting const aways shouldn't be an error even with -pedantic-errors
- To: sdouglas at arm dot com
- Subject: Re: casting const aways shouldn't be an error even with -pedantic-errors
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 5 Mar 2000 12:03:29 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <4.2.0.58.19991125150800.00b1ac70@mail1>
> 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