[Prev][Next][Index]

Re: enum type in pC++



> there would be a problem with further  C++ compilation, as
> the word "typedef" would disappear from the declaration
> 	typedef enum {....} dir_t; and dir_t therefore will not
> be declared as a type in  temp.C 

> 


Fixed & CVS'ed. (BTW, you could, of course, write 

enum dir_t {....};
and avoid the problem...)

> I am sending an example where a constant (X) of enumerated
> type (dir_t) is not recognized in the assignment
> operator in function MyCollection::efoo(). 

 

I'll look at this next.  Thanks for reporting the bugs,  --Beata