/usr/bin/cpp is no more -traditional
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
/usr/bin/cpp semantics in gcc-4.4 do not follow traditional pasting rules anymore, so scripts that have been working for 25 years now break. For example, xrdb uses cpp to process its input, and since cpp is no more acting with traditional semantics things like
#define NORMAL adobe-courier-
#define LARGE 18
xterm.font: -NORMAL-
expands to
xterm.font: -adobe-
Note the space after 18.
Please restore the previous behavior by either making cpp default to traditional or by wrapping it in a shell script that does -traditional, or chase down all cpp users, and add -traditional to their invocation.
this is with ubuntu-9.10
affects: | ubuntu → gcc-4.4 (Ubuntu) |