3 ms·
There's nothing particularly weird about this macro, and it has nothing to do with makefiles, automake, gcc flags, etc.
by tedunangst 10y ago
There's nothing particularly weird about this macro, and it has nothing to do with makefiles, automake, gcc flags, etc.
- ajkjk 10y agoIt is insane, though, and should have been replaced with a compiler feature to do static assertions twenty years ago.
- colanderman 10y agoIt was, five years ago. (C11 provides static_assert.) C was probably one of the first widely-used languages to support such a thing, beside Ada and C++.
- tedunangst 10y agoNo, Boost preprocessor is insane.
- ajkjk 10y agoWhy not both?