Hello Maarten,

MB> I don't know which are "the inline functions" nor which are "those 
warnings".
MB> Why not just fix what these warnings complain about?

i am not a true C developer, but:

inline uint8_t inline_some(uint8_t some) {
    return (some) ? do_some_thing(some) : 0;
}

inline_some(0); // warning

for (uint8_t i = 0; i != 10; i++) inline_some(i); // no warning


-- 
Best regards,
 Tony                            mailto:unt...@mail.ru



_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to