integrated preprocessor & cc1plus

Nathan Sidwell nathan@codesourcery.com
Tue Nov 14 06:52:00 GMT 2000


Hi,
cc1plus now requires -lang-c++, even when reading pre-processed source.
This is mildly disconcerting -- can't it have a sensible default?

nathan@uha:19>./cc1plus current/parse.ii 
current/parse.ii:3: syntax error before ':' token

nathan@uha:21>./cc1plus -lang-c++ current/parse.ii  
 int A::f() int A::f()


nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
struct A { int f ();};

int A::f () {}


More information about the Gcc-bugs mailing list