Why can’t you stop buying 618?From the technical dimension to explore>>>
#error: invalid storage class for function
Today, we encountered a problem when compiling: the error prompt invalid storage class for function “xxxxx” later found that “{“} “did not match. Because we usually pay attention to the problem of “{” and “}”, every time we use it, we will use it in pairs. After careful examination, it is found that “ifdef” and “ENDIF” shield one of them. In the future, we should pay more attention to “ifdef”, “ENDIF” and so on, such as “if”, “else”, “ENDIF”, “ifndef” and other sentences. PS: compiler errors are syntax errors, usually develop good code habits is very important
Similar Posts:
- [Solved] Makefile xxx recipe for target xxx failed
- Cannot find bounds of current function
- [Solved] VS winsock.h and ws2def.h a large number of redefined error
- Solve the problem of unexpected syntax error: unexpected token var reporting error
- Invalid use of incomplete type struct or class solution
- [Solved] Uncaught syntax error: invalid regular expression flags
- Common attributes of unity inspector panel
- This paper solves the problem that the program published by QT prompts “unable to locate the program input point k32getmodulefilenameexa on the dynamic link library Kernel32. DLL” in XP environment
- C++ error: cannot bind non-const lvalue reference of type ‘myString&’ to an rvalue of type ‘m…
- On the program error and level ini_ set(“display_ errors”,”On”)