This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug preprocessor/36906] 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]