------- Comment #3 from tromey at gcc dot gnu dot org  2008-09-02 19:22 -------
One problem with this approach is that this code would not error:

#include <string.h>
char (*fnptr)() = rindex;

I tend to agree with Andrew -- poisoning is too crude a tool for this use.

Is there a reason you do not use deprecation here?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36906

Reply via email to