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]

[Bug preprocessor/36887] Please report #pragma GCC poison" location



------- 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


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