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

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