This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH for 4.0] Fix PR18681 (access checking for typedeftypes) Part 1 or 2
- From: Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Dec 2004 21:19:20 +0700
- Subject: Re: [C++ PATCH for 4.0] Fix PR18681 (access checking for typedeftypes) Part 1 or 2
- References: <41BC3A61.email@example.com> <41BD9868.firstname.lastname@example.org>
Nathan Sidwell wrote:
I discover some flaw in my patch and the approach used has to be revised.
The flaw is that the typedef access checking is either turned on or off
entirely. So it doesn't work for case like:
it appears that in working on DR189, I'm hitting a similar problem with
such typedefs and conversion operators. I am investigating an approach
which might help here too. I'll let you know how it turns out, and then
review this patch if needed. (I didn't know of the collision until a
few minutes ago.)
typedef D<T::X, XX> DD; // XX is declared by an earlier typedef
where we want to check T::X but not XX, all within the same typedef.
I am thinking some solutions and could wait for your work before continue
working on it. The posted patches for PR18681 is retracted.