http://msdn.microsoft.com/en-us/library/87x5f80y%28v=vs.80%29.aspx
I know the error and why. I am just curious. For some projects this show up as warning while for others this doesn’t show up at all.
How do I set up so that the warning show up?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Information of the warning: http://msdn.microsoft.com/en-us/library/87x5f80y(v=vs.80).aspx
Information of how to hide or treating it as error: Goto the Compile tab of the Project Designer.
Note: There is differencies in what type of object you create. In then example below, only test1 will give warning, not the test2 function.
You can also use compiler options to hide warnings or threat them as errors. This specific warning has the ID 42105:
Function or Operator without Return Value Warning
More information about how it works here: http://msdn.microsoft.com/en-us/library/3y20cc1z(v=vs.80).aspx