If you're are not locked into MPLAB you might want to take a look at MikroElektronika's mikroC. With their "Intellisense" like feature turned on, it will not only tell you it was expecting a parameter but also say what kind of parameter. Of course, you can ignore their advice if you really wanted it that way. I much prefer mikroC over MPLAB, especially when using the libraries. Their help file is excellent. Allen > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist- > bounces@mit.edu] On Behalf Of David > Sent: Wednesday, October 02, 2013 3:14 AM > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] MPLAB / XC8 compiler options >=20 > On 02/10/2013 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() >=20 > David, >=20 > For functions with no parameters, my MPLABX/XC8 > combination correctly > fails compilation for the following: >=20 > unsigned char foo(unsigned char bar) { .. } > .. > foo 0xAA; >=20 > However, for the case with no parameters, I can't seem to > get a warning > even with the "Verbose", "Strict ANSI Conformance" and > warnings set to > 9. The commandline options were: >=20 > -P -N255 --strict --warn=3D9 --asmlist > --opt=3Ddefault,+asm,-asmfile,+speed,-space,-debug -- > addrqual=3Dignore > --mode=3Dfree >=20 > David > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list > archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=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 .