Does anyone know how to stop the warning appearing. It doesnt effect the code, I just dont like warnings if the code is unaffected as the function works.
Warning is: Function not void and does not return a value ReturnTest
Thanks.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun Aug 12, 2007 6:55 pm
Add this line after your pre-processor statements.
Code:
#ignore_warnings 208
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
Re: _Return_ gives a compiler warning
Posted: Mon Aug 13, 2007 11:43 am
heath.g wrote:
Under version 3 you could do this and it wouldnt return warning:
Does anyone know how to stop the warning appearing. It doesnt effect the code, I just dont like warnings if the code is unaffected as the function works.
Warning is: Function not void and does not return a value ReturnTest
Thanks.
You could try this as well.
Code:
return (1);
heath.g
Joined: 20 Jun 2006 Posts: 6
Posted: Mon Aug 20, 2007 12:13 am
PCM programmer wrote:
Add this line after your pre-processor statements.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum