ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Пятница
29 марта
150113 Топик полностью
AlexBi (05.03.2009 18:22, просмотров: 621) ответил Alex B. на Статья про атомарный доступ к битовым полям.
Мелкое замечание по макросам Включи проверку
-Wconversion Warn if a prototype causes a type conversion that is different from what would happen to the same argument in the absence of a prototype. This includes conversions of fixed point to floating and vice versa, and conversions changing the width or signedness of a fixed point argument, except when the same as the default promotion. Also, warn if a negative integer constant expression is implicitly converted to an unsigned type. For example, warn about the assignment x = -1 if x is unsigned. But do not warn about explicit casts like (unsigned) -1.
будет гора предупреждений.