07-06-2006, 07:52 AM
[quote="fwamolina"]My question is why my code test program (lint) generate an error when read this line.
U16 u16value;
U8 u8value;
u16value = (U16) u8value / 10U;
I think that line is absolutly compliance with misrac.
[quote]
1 are you using MISRA C 1 or 2
2 What is the error lint gives?
3 what rule does it think is being broken
U16 u16value;
U8 u8value;
u16value = (U16) u8value / 10U;
I think that line is absolutly compliance with misrac.
[quote]
1 are you using MISRA C 1 or 2
2 What is the error lint gives?
3 what rule does it think is being broken
<t>This post is made in a personal capacity<br/>
Member of MISRA-C-WG since 2002</t>
Member of MISRA-C-WG since 2002</t>