[Bug preprocessor/45696] New: Continuation character gets lost or not taken into account

John dot Tytgat at aaug dot net gcc-bugzilla@gcc.gnu.org
Thu Sep 16 23:52:00 GMT 2010


Using gcc 4.6.0 20100915 trunk revision 164317

Using the preprocessor on following piece:

--8<--
error_identifiers: \
        kErr_AlreadyWaitingForGDB("Already waiting for a GDB to connect")
--8<--

gcc -E gives me:

--8<--
# 1 "test-preprocess.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test-preprocess.c"
error-identifiers:
 kErr_AlreadyWaitingForGDB("Already waiting for a GDB to connect")
--8<--

I.e. the continuation character got lost or was not taken into account.  Either
I expect it to survive the preprocessing, either it should have been taken into
account like e.g. with gcc 4.1.2:

--8<--
# 1 "test-preprocess.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test-preprocess.c"
error-identifiers: kErr_AlreadyWaitingForGDB("Already waiting for a GDB to
connect")
--8<--


-- 
           Summary: Continuation character gets lost or not taken into
                    account
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: John dot Tytgat at aaug dot net
 GCC build triplet: x86_64-unknown-linux-gnu


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



More information about the Gcc-bugs mailing list