> On 02/10/2013 15:11, Ruben J=F6nsson wrote: > >> I would look for a warning about 'unused' something or other. > >> > >=20 > > Message 759 in XC8 - expression generates no code. >=20 > Can you provide a test case that causes this message to be displayed? I > cannot, but I have only spent a few minutes trying. >=20 > David I also gave it a few minutes but I couldn't get the message displayed.=20 The full description for this message is: This expression generates no output code. Check for things like leaving off= the=20 parentheses in a function call, for example: int fred; fred; /* this is valid, but has no effect at all */ Some devices require that special function register need to be read to clea= r=20 hardware flags. To accommodate this, in some instances the code generator d= oes=20 produce code for a statement which only consists of a variable ID. This may= =20 happen for variables which are qualified as volatile. Typically the output = code=20 will read the variable, but not do anything with the value read. And it gives the leaving out parentheses as one example. The chapter also=20 starts with the following text, so the message may not apply to the XC8=20 compiler: This is the complete and historical message set covering all former HI-TECH= C=20 compilers and all compiler versions. Not all messages shown here may be relevant for the compiler version you are using. /Ruben =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ruben J=F6nsson AB Liros Electronic Box 9124 200 39 Malm=F6 Sweden Tel +46 40142078 ruben@rjjournal.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=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 .