problems with compiler differences between version 3.3.5 and 4.0.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello dear gcc-helper,

I have a program without problems compiling with 3.3.5 but don't work with 
4.0.2. 

there is on class A and another on B
so B has a datamember an object of A, like this

class A{
...
};

class B{
...
	A a;   	<<<<<<<

};

The compiler answers that:

file linenumber:  A does not name a type

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux