warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
This warning appears when I compile the driver,
The solution is to put printk after the variable definition sentence
The specific reason is not cleared, but the variable is right after printk
Read More:
- ISO C++ forbids comparison between pointer and integer [-fpermissive]
- [Solved] Dev-C++ [Error] ‘for‘ loop initial declarations are only allowed in C99 or C11 mode
- Fatal error C1853 error occurs when there are mixed .c files in the VS project
- error: ‘for‘ loop initial declarations are only allowed in C99 mode
- Compiler problem, error: ‘for’ loop initial declarations are only allowed in C99 mode
- How to Fix error: ‘for’ loop initial declarations are only allowed in C99 mode
- C language string processing error warning, c4996, sprintf, predicted, c4996, strcpy, c4996, strcat
- 【.Net Core】using declarations‘ is not available in C# 7.3. Please use language version 8.0 or greate
- Solution to prompt “system group policy forbids installation of this device” in win10 system
- Chinese garbled code when vscode calls CMD to run C / C + +
- How to solve the problem of “blocked loading mixed active content” in Firefox
- Gcc compiler warning solution: “extra tokens at end of ifndef directive” Tags: GCC, warning
- In R language, for loop or array truncation, the following error occurs only 0’s may be mixed with negative subscripts
- The garbage plug-in mixed in chrome causes an error in the front-end JS operation: only one instance of Babel Polyfill is allowed
- C code compilation_ Error: expected expression before ‘Int’
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- Windows update has an error code_ 800700C1
- The problem of [connection lost contact] after C # code connecting Oracle database for a period of time
- 12c Instant Client Throws System Error Code 126 or 193 or 106
- Solution: Rsync error: some files could not be transferred (code 23) at main. C (702)