[Prev][Next][Index]
Re: enum type in pC++
- From: "Beata Winnicka" <bfatyga@slab.cica.indiana.edu>
- Date: Tue, 22 Nov 94 14:25:20 -0500
- To: "Vladimir Menkov" <vmenkov@kilimanjaro.cica.indiana.edu>
- Subject: Re: enum type in pC++
- Cc: sage-bugs@cica.indiana.edu
> 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