public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug preprocessor/43195] New: #pragma once and -H @ 2010-02-27 4:13 d dot g dot gorbachev at gmail dot com 2010-02-27 19:30 ` [Bug preprocessor/43195] " manu at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: d dot g dot gorbachev at gmail dot com @ 2010-02-27 4:13 UTC (permalink / raw) To: gcc-bugs The "#pragma once" directive can cause spurious "Multiple include guards may be useful for:" messages. $ cat bar.h #pragma once $ cat foo.c #include "bar.h" $ gcc -S -H foo.c . bar.h Multiple include guards may be useful for: bar.h -- Summary: #pragma once and -H Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43195 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug preprocessor/43195] #pragma once and -H 2010-02-27 4:13 [Bug preprocessor/43195] New: #pragma once and -H d dot g dot gorbachev at gmail dot com @ 2010-02-27 19:30 ` manu at gcc dot gnu dot org 2010-02-28 20:12 ` manu at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2010-02-27 19:30 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from manu at gcc dot gnu dot org 2010-02-27 19:29 ------- testing a patch -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org AssignedTo|unassigned at gcc dot gnu |manu at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-02-27 19:29:49 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43195 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug preprocessor/43195] #pragma once and -H 2010-02-27 4:13 [Bug preprocessor/43195] New: #pragma once and -H d dot g dot gorbachev at gmail dot com 2010-02-27 19:30 ` [Bug preprocessor/43195] " manu at gcc dot gnu dot org @ 2010-02-28 20:12 ` manu at gcc dot gnu dot org 2010-04-09 16:09 ` manu at gcc dot gnu dot org 2010-04-09 16:10 ` manu at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2010-02-28 20:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from manu at gcc dot gnu dot org 2010-02-28 20:12 ------- Approved patch http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01246.html -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |41998 nThis| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43195 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug preprocessor/43195] #pragma once and -H 2010-02-27 4:13 [Bug preprocessor/43195] New: #pragma once and -H d dot g dot gorbachev at gmail dot com 2010-02-27 19:30 ` [Bug preprocessor/43195] " manu at gcc dot gnu dot org 2010-02-28 20:12 ` manu at gcc dot gnu dot org @ 2010-04-09 16:09 ` manu at gcc dot gnu dot org 2010-04-09 16:10 ` manu at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2010-04-09 16:09 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 726 bytes --] ------- Comment #3 from manu at gcc dot gnu dot org 2010-04-09 16:09 ------- Subject: Bug 43195 Author: manu Date: Fri Apr 9 16:08:42 2010 New Revision: 158169 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158169 Log: 2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> PR cpp/43195 libcpp/ * files.c (report_missing_guard): Test for #pragma once. testsuite/ * gcc.dg/cpp/pr43195.c: New. * gcc.dg/cpp/pr43195.h: New. Added: trunk/gcc/testsuite/gcc.dg/cpp/pr43195.c trunk/gcc/testsuite/gcc.dg/cpp/pr43195.h Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/files.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43195 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug preprocessor/43195] #pragma once and -H 2010-02-27 4:13 [Bug preprocessor/43195] New: #pragma once and -H d dot g dot gorbachev at gmail dot com ` (2 preceding siblings ...) 2010-04-09 16:09 ` manu at gcc dot gnu dot org @ 2010-04-09 16:10 ` manu at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2010-04-09 16:10 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from manu at gcc dot gnu dot org 2010-04-09 16:09 ------- FIXED for GCC 4.6 -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43195 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-09 16:10 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-27 4:13 [Bug preprocessor/43195] New: #pragma once and -H d dot g dot gorbachev at gmail dot com 2010-02-27 19:30 ` [Bug preprocessor/43195] " manu at gcc dot gnu dot org 2010-02-28 20:12 ` manu at gcc dot gnu dot org 2010-04-09 16:09 ` manu at gcc dot gnu dot org 2010-04-09 16:10 ` manu 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).