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

SR:  10.1#1Checked automatically with code checker

Synopsis:Function return types must not use const or volatile.
Language:C
Severity Level:2
Category:EXTERNAL DECLARATIONS


Description:
This leads to undefined behaviour.

Example:

const int func(void)
{
...
} /* undefined */