The problem is that using the name of a function without parenthesis (when the function has no parameters) is not an error in C. When the name of a function apears by itself, the compiler understands that you are requesting the function's address. Example: x =3D rnd(); // x is loaded with the return value of the function x =3D rnd; // x is loaded with the address of the rnd function. Usually the compiler would issue a warning of incompatible type assignment because rnd returns an integer and probably you would declare x as 'int', so when assigning a pointer to it thw compiler would issue a warnng. Isaac Em 02/10/2013 06:46, Jan-Erik Soderholm escreveu: > Hi. > > Is a missing "()" from a function call/invocation > the same as a "brace mismatch" ? > > Jan-Erik. > > > cdb wrote 2013-10-02 11:14: >> On Wed, 02 Oct 2013 12:46:57 +1000, David Duffy (AVD) wrote: >> :: I'm using MPLAB and XC8 for a project and would like to enable a >> :: warning option >> >> As others have stated, there doesn't seem to be such an option with MPLA= B X >> compilers. >> >> A sideways approach would be to use an editor such as EditPad Pro (it's >> what I use) as this does mark out brace mismatch, or if you have Visual = C# >> Express, this also will shout at brace mismatches. The correctly edited >> file can then be compiled via MPLABX. >> >> Colin >> -- >> cdb, colin@btech-online.co.uk on 2/10/2013 >> >> Web presence: www.btech-online.co.uk >> >> Hosted by: www.justhost.com.au >> >> >> This email is to be considered private if addressed to a named individu= al >> or Personnel Department, and public if addressed to a blog, forum or ne= ws >> article. >> >> >> >> >> >> --=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 .