Package: gcc-3.3-doc
Version: 1:3.3-2
Severity: minor

The info file says:

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

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.4.21-pre5 #1 Sat Mar 1 09:01:10 PST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.3-doc depends on:
ii  gcc-3.3-base                  1:3.3-2    The GNU Compiler Collection (base 

-- no debconf information


-- 
Daniel Schepler              "Please don't disillusion me.  I
[EMAIL PROTECTED]    haven't had breakfast yet."
                                 -- Orson Scott Card


Reply via email to