about no-returned main

liujg liu.jianguo@prosperity.com.cn
Tue Apr 10 20:38:00 GMT 2001




Sir:
I certainly implement my main function as: void 
main(),but
gcc report me an error:  `return' with no 
value, in function returning non-void.Though I can fit it with changing the 
prototype of main,but I guess there is some interest reason,Can you tell me what 
it is?
Best.



More information about the Gcc-help mailing list