>Submitter-Id:  net
>Originator:    Daniel Schepler <[EMAIL PROTECTED]>
>Organization:  The Debian Project
>Confidential:  no
>Synopsis:
>Severity:      non-critical
>Priority:      medium
>Category:      preprocessor
>Class:         doc-bug
>Release:       3.3 (Debian) (Debian testing/unstable)
>Environment:
System: Debian GNU/Linux (unstable)
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm 
--enable-java-awt=xlib --enable-objc-gc i386-linux
>Description:
 [ Reported to the Debian BTS as report #194391.
   Please CC [EMAIL PROTECTED] on replies.
   Log of report can be found at http://bugs.debian.org/194391 ]
        

String Literals with Embedded Newlines
======================================

   As an extension, GNU CPP permits string literals to cross multiple
lines without escaping the embedded newlines.  Each embedded newline is
replaced with a single `\n' character in the resulting string literal,
regardless of what form the newline took originally.

This no longer seems to be the case, however:

[EMAIL PROTECTED]:~/test$ cat mlstr.c
main() { printf("Foo
bar
"); }
[EMAIL PROTECTED]:~/test$ gcc -c mlstr.c
mlstr.c:1:17: missing terminating " character
mlstr.c: In function `main':
mlstr.c:2: error: parse error before "bar"
mlstr.c:3:1: missing terminating " character

>How-To-Repeat:
        
>Fix:
        


Reply via email to