This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/36887] Please report #pragma GCC poison" location
- From: "h dot b dot furuseth at usit dot uio dot no" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2008 11:36:06 -0000
- Subject: [Bug preprocessor/36887] Please report #pragma GCC poison" location
- References: <bug-36887-1038@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from h dot b dot furuseth at usit dot uio dot no 2008-07-21 11:36 -------
Subject: Re: New: Please report #pragma GCC poison" location
Sorry about the empty report. Anyway:
The warning
a.c:2:5: attempt to use poisoned "foo"
is not intelligle if one does not know about #pragma GCC poison.
(When the poisoning was done by a header file written by someone else.)
Please add an additional message
foo.h:10: note: "foo" was poisoned here
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887