[ofa-general] [PATCH] Allow paths to the device specific library to be absolute

Roland Dreier rdreier at cisco.com
Thu Jul 23 14:17:17 PDT 2009


 > > 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...




More information about the general mailing list