public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/52852] New: The preprocessor fails to parse multi-line c++0x/c++11 raw strings.
@ 2012-04-03 19:10 bcmpinc at hotmail dot com
  2012-04-03 21:37 ` [Bug preprocessor/52852] [C++11] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bcmpinc at hotmail dot com @ 2012-04-03 19:10 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52852
           Summary: The preprocessor fails to parse multi-line c++0x/c++11
                    raw strings.
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bcmpinc@hotmail.com


When compiling the following piece of code, using "g++ -v -save-temps a.cpp
-std=c++0x", the preprocessor fails to parse it correctly. This causes the
compilation to fail.

#include <cstdio>
#define log(a) printf("%s\n", a)
int main() {
        log(R"delimiter(
                Multi
                line
                raw
                string
        )delimiter");
}

The -save-temps output is attached.


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

* [Bug preprocessor/52852] [C++11] The preprocessor fails to parse multi-line c++0x/c++11 raw strings.
  2012-04-03 19:10 [Bug preprocessor/52852] New: The preprocessor fails to parse multi-line c++0x/c++11 raw strings bcmpinc at hotmail dot com
@ 2012-04-03 21:37 ` redi at gcc dot gnu.org
  2012-04-30 10:13 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-03 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-03
            Summary|The preprocessor fails to   |[C++11] The preprocessor
                   |parse multi-line            |fails to parse multi-line
                   |c++0x/c++11 raw strings.    |c++0x/c++11 raw strings.
     Ever Confirmed|0                           |1


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

* [Bug preprocessor/52852] [C++11] The preprocessor fails to parse multi-line c++0x/c++11 raw strings.
  2012-04-03 19:10 [Bug preprocessor/52852] New: The preprocessor fails to parse multi-line c++0x/c++11 raw strings bcmpinc at hotmail dot com
  2012-04-03 21:37 ` [Bug preprocessor/52852] [C++11] " redi at gcc dot gnu.org
@ 2012-04-30 10:13 ` redi at gcc dot gnu.org
  2013-08-13 15:49 ` jakub at gcc dot gnu.org
  2013-08-13 17:03 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-30 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joerg.richter@pdv-fs.de

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 10:12:54 UTC ---
*** Bug 53165 has been marked as a duplicate of this bug. ***


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

* [Bug preprocessor/52852] [C++11] The preprocessor fails to parse multi-line c++0x/c++11 raw strings.
  2012-04-03 19:10 [Bug preprocessor/52852] New: The preprocessor fails to parse multi-line c++0x/c++11 raw strings bcmpinc at hotmail dot com
  2012-04-03 21:37 ` [Bug preprocessor/52852] [C++11] " redi at gcc dot gnu.org
  2012-04-30 10:13 ` redi at gcc dot gnu.org
@ 2013-08-13 15:49 ` jakub at gcc dot gnu.org
  2013-08-13 17:03 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-08-13 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 57620 ***


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

* [Bug preprocessor/52852] [C++11] The preprocessor fails to parse multi-line c++0x/c++11 raw strings.
  2012-04-03 19:10 [Bug preprocessor/52852] New: The preprocessor fails to parse multi-line c++0x/c++11 raw strings bcmpinc at hotmail dot com
                   ` (2 preceding siblings ...)
  2013-08-13 15:49 ` jakub at gcc dot gnu.org
@ 2013-08-13 17:03 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-08-13 17:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---


*** This bug has been marked as a duplicate of bug 57824 ***


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

end of thread, other threads:[~2013-08-13 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 19:10 [Bug preprocessor/52852] New: The preprocessor fails to parse multi-line c++0x/c++11 raw strings bcmpinc at hotmail dot com
2012-04-03 21:37 ` [Bug preprocessor/52852] [C++11] " redi at gcc dot gnu.org
2012-04-30 10:13 ` redi at gcc dot gnu.org
2013-08-13 15:49 ` jakub at gcc dot gnu.org
2013-08-13 17:03 ` jakub 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).