8.3 and parameter name omitted. - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA C:2012 and MISRA C:2023 guidelines (https://forum.misra.org.uk/forumdisplay.php?fid=21) +---- Forum: 8.8 Declarations and defnitions (https://forum.misra.org.uk/forumdisplay.php?fid=163) +---- Thread: 8.3 and parameter name omitted. (/showthread.php?tid=1192) |
8.3 and parameter name omitted. - lovewar - 01-07-2015 Would the following examples be compliant with rule #8.3? Code: -- in t1.h Re: 8.3 and parameter name omitted. - misra-c - 05-08-2015 The extern declaration of foo is not compliant with rule 8.2, which requires function declarations to have named parameters. The MISRA-C working group is currently considering whether rule 8.3 includes the case where the declaration has no parameter name and definition does have a parameter name. RE: 8.3 and parameter name omitted. - misra-c - 02-07-2024 Clarification of R.8.2 was added in MISRA C:2012 TC2 |