@int10h @whitequark 6.7.2.2¶4 "The choice of type is implementation-defined"
-
-
Replying to @RichFelker
@RichFelker@int10h@whitequark Why is it bad? I think there are 2 distinct uses of enums. 1) For constants. The type of enum isn't relevant1 reply 0 retweets 0 likes -
Replying to @ch3root
@RichFelker@int10h@whitequark 2) For real enumerated type without conversion to/from integers. The type isn't relevent too.2 replies 0 retweets 0 likes -
Replying to @ch3root
@ch3root@int10h@whitequark Because the ABI depends on the choice. For impls where the type depends on range of values it really sucks.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@ch3root@int10h@whitequark Because adding additional enumeration values can change the ABI of your interface.2 replies 0 retweets 3 likes -
Replying to @RichFelker
@RichFelker@ch3root@int10h oh god that's even worse. I never considered that.1 reply 0 retweets 1 like
@whitequark @ch3root @int10h This is why C requires everything incl tag & set of consts to be identical to yield a "compat type" across TUs.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.