This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: const warning...
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, fjh at cs dot mu dot OZ dot AU
- Cc: Theodore dot Papadopoulo at sophia dot inria dot fr, gcc at gcc dot gnu dot org
- Date: Sat, 5 Jul 2003 08:31:20 -0400 (EDT)
- Subject: Re: const warning...
> If you are arguing that there is a fundamental and important difference
> between these two code snippets, then I would beg to differ.
Fine, no problem in differing, you don't have to beg for it, but I definitely
think there is a fundamental and important difference. Remember that the
request here is for an optional warning, presumably not on by default.
So the burden of proof on your side is to argue that it is unreasonable
for *anyone* to want such a feature. I certainly am not saying that
everyone should be forced to program in the style that this warning
would imply, but I think it is definitely a useful option for those
of us who think the other way from you :-)