You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 53 Next »

DAN30-A. Create a copy constructor and assignment operator for non copyable objects

DCL05-A. Do not convert a function pointer to a function of a different type

DCL05-A. Do not use identifiers with different linked classifications

DCL31-C. Ensure every has function has a function prototype

EXP07-A. Use caution with NULL and 0, especially concerning pointers

EXP08-A. Ensure pointer arithmetic is used correctly

EXP09-A. Use sizeof to determine the size of a type or variable

FIO09-A. fflush() should be called after writing to an output stream if data integrity is important.

FLP33-C. Convert integers to floating point for floating point operations

FLP34-C. Ensure that demoted floating point values are within range

INT38-C. Ensure that Integer arithmetic and conversion functions are used only if the result can be represented in the type

MSC05-A. Do not manipulate time_t values directly

POSxx-A. Avoid race conditions with multiple threads

MSC09-A Character Encoding - Use Subset of ASCII for Safety

DCL33-C. Ensure that source and destination pointers in function arguments do not point to overlapping objects if they are restrict qualified

Use setlocale() carefully (DRAFT)

Do not assume that an environmental variable is unique based on the name (draft)

Do not assume the layout of bitfields in memory (draft)

Do not cast pointers between objects with differing alignments

Do not use vfork(2)

Don't use a function pointer whose type is not compatible to pointed to type ~Draft~

Minimize the use of enviroment variables ~Draft~

Only use values for fsetpos that are returned from fgetpos ~Draft~

Parenthesize library functions to prevent naming conflicts

  • No labels