Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
during make file the warning "try.c:5: warning: return type of 'main' is not `int'".always shows. and how to solve the warning "try.c:30: warning: `return' with a value, in function returning void"
For the first warning i think you just have to declare the main function as int main(), not void main(). The second warning says you are returning some value from a function, which is declared not to return anything. I guess this is because of the main() function, so the solution above should fix both warnings.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.