public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/36887]  New: Please report #pragma GCC poison" location
@ 2008-07-21 11:29 h dot b dot furuseth at usit dot uio dot no
  2008-07-21 11:36 ` [Bug preprocessor/36887] " h dot b dot furuseth at usit dot uio dot no
  2008-07-21 14:37 ` tromey at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: h dot b dot furuseth at usit dot uio dot no @ 2008-07-21 11:29 UTC (permalink / raw)
  To: gcc-bugs

The warning


-- 
           Summary: Please report #pragma GCC poison" location
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: h dot b dot furuseth at usit dot uio dot no
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug preprocessor/36887] Please report #pragma GCC poison" location
  2008-07-21 11:29 [Bug preprocessor/36887] New: Please report #pragma GCC poison" location h dot b dot furuseth at usit dot uio dot no
@ 2008-07-21 11:36 ` h dot b dot furuseth at usit dot uio dot no
  2008-07-21 14:37 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: h dot b dot furuseth at usit dot uio dot no @ 2008-07-21 11:36 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug preprocessor/36887] Please report #pragma GCC poison" location
  2008-07-21 11:29 [Bug preprocessor/36887] New: Please report #pragma GCC poison" location h dot b dot furuseth at usit dot uio dot no
  2008-07-21 11:36 ` [Bug preprocessor/36887] " h dot b dot furuseth at usit dot uio dot no
@ 2008-07-21 14:37 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2008-07-21 14:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tromey at gcc dot gnu dot org  2008-07-21 14:36 -------
Seems like a reasonable idea to me.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-21 14:36:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-21 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-21 11:29 [Bug preprocessor/36887] New: Please report #pragma GCC poison" location h dot b dot furuseth at usit dot uio dot no
2008-07-21 11:36 ` [Bug preprocessor/36887] " h dot b dot furuseth at usit dot uio dot no
2008-07-21 14:37 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).