On 3/10/2013 12:11 AM, Ruben J=F6nsson wrote: >> This is valid "C": >> ... >> So, given that this is valid, the only warning that would make sense wou= ld >> be something like: >> >> >> Function 'bar', line ??: Expression has no side effects and its value is= not >> used >> >> I would look for a warning about 'unused' something or other. >> >> -- Bob Ammerman >> RAm Systems >> > Message 759 in XC8 - expression generates no code. > I understand why the foo without parentheses is not always an error, but=20 XC8 doesn't even show it as a warning when there's no assignment taking=20 place. Seems broken to me. Other compilers do give the correct warning. David... --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .