> > I don't have a debian logon, but I do have an ia64 machine:

 > Ah, in the good old days every DD had one of those :)

BTW I'm not a dd -- just have a sponsor for my packages.
Maybe someday I'll try to become a dd but for now I'm too lazy.

 >  The identifiers in an enumerator list are declared as constants that
 >  have type int and may appear wherever such are permitted.
 > 
 >  Each enumerated type shall be compatible with an integer type. The
 >  choice of type is implementation-defined, but shall be capable of
 >  representing the values of all the members of the enumeration.

thinking about this, I confused myself.  Given

enum foo { FOO, BAR };

and given that the standard quoted above says FOO and BAR have type int,
why is it valid to do

enum foo x = FOO;

but not

enum foo y = FOO | BAR;

?  It seems FOO and (FOO | BAR) would both have type int...

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to