This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/36906] New: #pragma GNU poison index()
- From: "Dave at Yost dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2008 06:50:54 -0000
- Subject: [Bug preprocessor/36906] New: #pragma GNU poison index()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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