[Bug preprocessor/36906] #pragma GNU poison index()

2008-12-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-24 23:07 --- No answer in 3 months so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/36906] #pragma GNU poison index()

2008-09-02 Thread tromey at gcc dot gnu dot org
--- 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 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 depr

[Bug preprocessor/36906] #pragma GNU poison index()

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-11 00:28 --- Let me expand on what I mean by the attribute deprecated. See http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Function-Attributes.html: deprecated The deprecated attribute results in a warning if the function is used an

[Bug preprocessor/36906] #pragma GNU poison index()

2008-07-23 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2008-07-23 07:09 --- Subject: Re: New: #pragma GNU poison index() Try the attribute deprecated. Sent from my iPhone On Jul 22, 2008, at 23:50, "Dave at Yost dot com" <[EMAIL PROTECTED] > wrote: > There should be a way to poison a symbo