Re:What is C in practice?
by pjmlp on Monday June 29, 2015 @02:08PM
(#9799810)
Really?! How do you specify alignment and packing in ANSI C?
[ Parent
| on HN ]
Re:What is C in practice?
by stephencanon on Monday June 29, 2015 @02:12PM
(#9799838)
_Alignof( ) and _Alignas( )?
Yeah, since C11 only.
However very few compilers, specially in the embedded and real time OS space do offer C11 compliance.
Gcc and clang aren't the only game in town. If one aims to write compliant C code much more compilers come into the picture.
Isn't it that if you write standard compliant C code, much less compilers come into the picture ;)