C, still?
C, still?
Posted Sep 20, 2017 14:38 UTC (Wed) by aaron (guest, #282)In reply to: C, still? by ncm
Parent article: Building the kernel with Clang
Posted Sep 21, 2017 13:41 UTC (Thu)
by adobriyan (subscriber, #30858)
[Link]
I never realized how stupid the decision to ban struct comparisons while allowing struct assignments is until trying to compile kernel with C++ compiler.
Say, it is possible to annotate non-null pointers by switching to references and lose nothing.
But no, we continue to do it the hard way because kernel programming is supposed to be hard, right?
Right?
C, still?