isn't this how you're supposed to check some __STDC macro?
-
-
-
Yeah, but presumably __STDC_VERSION__ allows more than one digit per version number component
End of conversation
New conversation -
-
-
Cursed if there’s ever a v1.12.
-
The thing is, OpenGL is on version 4 so I don’t think any more 1.x versions can ever be released!
- 1 more reply
New conversation -
-
-
It's a fairly standard idiom except botched, because you're supposed to use 100 or even 1000, not 10.
-
Or you know, shift left by the number of bits the data type containing minor has.
End of conversation
New conversation -
-
-
I never like code that's unnecessarily clever like this. Your version is much more explicit and clear, not to mention more robust.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
This Tweet is unavailable.
-
-
I like how this code is valid in like 50 languages
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
major << 16 | minor > 0x20001
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.