This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/36906] #pragma GNU poison index()
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2008 07:09:22 -0000
- Subject: [Bug preprocessor/36906] #pragma GNU poison index()
- References: <bug-36906-10965@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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" <gcc-bugzilla@gcc.gnu.org
> wrote:
> There should be a way to poison a symbol only when it is used as a
> function or
> macro call. I suggest that following a symbol with a pair of
> parentheses might
> be a serviceable syntax for this. With this feature, the symbol
> rindex would
> still be usable for variables.
>
>
> --
> Summary: #pragma GNU poison index()
> Product: gcc
> Version: unknown
> Status: UNCONFIRMED
> Severity: enhancement
> Priority: P3
> Component: preprocessor
> AssignedTo: unassigned at gcc dot gnu dot org
> ReportedBy: Dave at Yost dot com
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36906
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36906