Package: cpp-3.3
Version: 1:3.3.1-0pre0
Severity: important

Given the following sample:

---BEGIN---
#define FOO 42

"foo" #FOO "blah"
---END---

A correct cpp should output the last line as:

"foo" "23" "blah"


However, GNU cpp is producing:

"blah" #23  "foo"


Refer to the gcc cpp documtation:
http://gcc.gnu.org/onlinedocs/gcc-3.3/cpp/Stringification.html#Stringification

This bug also seems to affect gcc-3.3 on Solaris 2.6, so it could possibly be
upstream.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pc-g4-11 2.4.21 #1 Wed Jun 18 18:41:11 EST 2003 i686
Locale: LANG=en_AU, LC_CTYPE=ja_JP.eucJP

Versions of packages cpp-3.3 depends on:
ii  gcc-3.3-base               1:3.3.1-0pre0 The GNU Compiler Collection (base 
ii  libc6                      2.3.1-16      GNU C Library: Shared libraries an

-- no debconf information




Reply via email to