Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] nested class inheritance problem

Compile with -Wextra -Wall and -pedantic, oh and -std=c++11, if it whines/warns/bitches then we know it was just being nice before. (this is probably a -fpermissive or -pedantic thing, GCC/the compiler allows it because it knows what you mean, it's not ambiguous but the standard says you must qualify it, but the CDT parser is not so permissive) if it is not a CDT bug.


On 23/11/13 15:44, scalpel4k wrote:
Hi guys,

I have the following problem:

struct A {
	struct B {

struct C : public A {
	struct D: public // do I really have to use a qualified name?

When I try to get some code assist on struct D, I don't get any proposals
unless I use A:: as a qualifier.

Is this a bug, or am I misunderstanding something?

I use CDT nightly and the compiler uses the c++11 standard.

thx Michi
cdt-dev mailing list

Back to the top