This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

integrated preprocessor & cc1plus


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 () {}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]