tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: traditional cpp
On Mon, Dec 20, 2010 at 12:03:58PM +0100, Anders Magnusson wrote:
 > Hm, just curious, do you see any problem with the cpp included in
 > pcc? Which is already in-tree?
Joerg led me to believe that it wasn't going to work, although this
may not be his fault.
I do see at least one problem with it though:
   valkyrie% ( echo '#define K(x) "x"' ; echo 'K(123)' ) | ./cpp -t
   # 1 "<stdin>"
   "x"
   valkyrie% ( echo '#define K(x) "x"' ; echo 'K(123)' ) | gcc -traditional -E -
   # 1 "<stdin>"
   # 1 "<built-in>"
   # 1 "<command line>"
   # 1 "<stdin>"
   "123"
   valkyrie% 
-- 
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index