Changes between Version 51 and Version 52 of Developer/Coding/Conventions


Ignore:
Timestamp:
May 30, 2014, 6:06:44 PM (5 years ago)
Author:
Gedare
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Coding/Conventions

    v51 v52  
    2626 *  Pay attention to warnings. Strive to eliminate them.
    2727 *  Use RTEMS_ZERO_LENGTH_ARRAY when defining [https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html variable-length objects].
     28 *  Prefer to use sizeof(variable) instead of sizeof(type).
    2829= Formatting =
    2930
     
    3940 *  Do not use more than one blank line in a row.
    4041 *  Do not use trailing whitespace at the end of a line.
    41  *  Understand and follow the [wiki:Developer/Coding/NamingRules naming rules].
    4242= Readability =
    4343
     44 *  Understand and follow the [wiki:Developer/Coding/NamingRules naming rules].
    4445 *  Do not mix variable declarations and code.
    4546 *  Declare variables at the start of a block.