/usr/bin/cpp is no more -traditional

Bug #668433 reported by Christos Zoulas
6
This bug affects 1 person
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-medium-r-normal
#define LARGE 18
xterm.font: -NORMAL--LARGE-*-*-*-*-*-*-*

expands to

xterm.font: -adobe-courier-medium-r-normal--18 -*-*-*-*-*-*-*

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)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.