This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
integrated preprocessor & cc1plus
- To: gcc-bugs at gcc dot gnu dot org
- Subject: integrated preprocessor & cc1plus
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Tue, 14 Nov 2000 15:01:14 +0000
- Organization: Codesourcery LLC
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 () {}