public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67276] New: duplicated missing terminating character diagnostic
@ 2015-08-19 14:57 manu at gcc dot gnu.org
  2015-08-19 15:02 ` [Bug preprocessor/67276] " manu at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: manu at gcc dot gnu.org @ 2015-08-19 14:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67276

            Bug ID: 67276
           Summary: duplicated missing terminating character diagnostic
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manu at gcc dot gnu.org
  Target Milestone: ---

>From gcc.dg/pragma-message.c:

#pragma message "

/home/manuel/test.c:1:17: warning: missing terminating " character
 #pragma message "
                 ^
/home/manuel/test.c:1:9: error: missing terminating " character
 #pragma message "
         ^

It doesn't make sense to give a warning if we are going to give an error
anyway. Moreover, this is a pedwarn, so with -pedantic-errors we get two
errors.


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

end of thread, other threads:[~2015-08-19 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 14:57 [Bug c/67276] New: duplicated missing terminating character diagnostic manu at gcc dot gnu.org
2015-08-19 15:02 ` [Bug preprocessor/67276] " manu at gcc dot gnu.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).