On 02/10/13 03:46, David Duffy (AVD) wrote: > I'm using MPLAB and XC8 for a project and would like to enable a warning > option. Where in MPLAB do I do this? Can it be done? > > The warning option I'd like to add is where a function has been called > without the parentheses. ie. foo instead of foo() > > Being new to C I find that sometimes I forget the parentheses. This > results in the function not being called, but with no warning or error, > I'm led on a goose chase each time. > David... > Seen that problem here too. I've noticed that XC8 (under MPLABX, for=20 what it's worth) will successfully compile C code containing function=20 calls which are missing end brackets, and the functions don't get=20 called. A warning about this would be great, although now I've seen the=20 problem I know how to avoid it. No pun intended... Matt --=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 .