TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
ASML C Coding Standard
Search

Rule:  6.7.2.1.aChecked automatically with code checker

Synopsis:Do not use bit-fields for combining multiple logical values in one memory location.
Language:C
Severity Level:4
Category:Declarations


Description:

Justification

There is no need to use bit-fields for saving memory. Furthermore, bit fields are implementation specific (decided by the compiler) and thus not portable. Use bool instead.