On 2008-07-02 10:10:32 -0400, Jack Lloyd wrote: > Not really, it just doesn't understand it needs to treat an empty > file as C... instead you have to tell it so with -x c
But is there any reason why cpp assumes C as a fallback, but not gcc (at least with the -E option)? IMHO, this is a bit inconsistent, in particular if cpp is seen as a synonym for "gcc -E". vin% cpp -dM /dev/null | md5sum d7760eedc87eba1427f096989c3e2a49 - vin% cpp -xc -dM /dev/null | md5sum d7760eedc87eba1427f096989c3e2a49 - vin% cpp -xc++ -dM /dev/null | md5sum 0ce80933d788e730beec1886af757d44 - vin% gcc -E -dM /dev/null | md5sum gcc.real: /dev/null: linker input file unused because linking not done d41d8cd98f00b204e9800998ecf8427e - vin% gcc -E -xc -dM /dev/null | md5sum d7760eedc87eba1427f096989c3e2a49 - vin% gcc -E -xc++ -dM /dev/null | md5sum 0ce80933d788e730beec1886af757d44 - -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)