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]

template bug?


The following file:

	template <class T>
	fart(T &a)
	{
		T::inside_class damn;
	}

compiled with "g++ -c t.cc" barfs with

	u.cc: In function `int fart(T &)':
	u.cc:4: parse error before `;'

(This works with gcc 2.7.x)

Any ideas?  Lemme know.  Thx.

	=-ddt->

---------
Dave Taylor, Owner
Crack dot Com, Inc.  http://crack.com



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