[cfe-commits] Better const_cast support

steve naroff snaroff at apple.com
Fri Sep 26 16:32:32 PDT 2008


On Sep 26, 2008, at 7:27 PM, Mike Stump wrote:

> On Sep 26, 2008, at 3:10 PM, Sebastian Redl wrote:
>> The test case will now fail because I've put the above in it. I
>> think it's better to have a failing test than to know there's a
>> missing feature but eventually forget about it.
>
> I'd prefer a bug report and a #if 0 // FIXME - add support for this in
> the compiler, then turn this on (bug #n) style comment on the
> testcase.  When I run the testsuite, 0 failures is very easy to
> understand and analyze.

I totally agree.

snaroff

> Additionally, a FIXME in the code that
> explains what is left to do should be sufficient to ensure the work
> gets done.  Reference the bug report and/or the testcase as necessary.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list