public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/57824] New: Raw string literals not handled correctly in macro arguments or deferred pragmas
@ 2013-07-04 17:21 jakub at gcc dot gnu.org
  2013-07-10 17:43 ` [Bug preprocessor/57824] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-07-04 17:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57824
           Summary: Raw string literals not handled correctly in macro
                    arguments or deferred pragmas
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: jakub at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: tromey at gcc dot gnu.org

#define S(s) s

const char x[] = R"(
abc
)";
const char y[] = S(R"(
abc
)");

void bar ();
void foo ()
{
#pragma omp parallel num_threads(sizeof R"(
abc
)")
  bar ();
}

isn't lexed properly.


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

end of thread, other threads:[~2021-07-27 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04 17:21 [Bug preprocessor/57824] New: Raw string literals not handled correctly in macro arguments or deferred pragmas jakub at gcc dot gnu.org
2013-07-10 17:43 ` [Bug preprocessor/57824] " jakub at gcc dot gnu.org
2013-08-13 17:03 ` jakub at gcc dot gnu.org
2021-07-27 14:14 ` moritz.baumann at sap dot com

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