Search notes:

cl /w …

/wLWNUM sets the warning level for warning number WNUM to L (L = 1 … 4)
/weWNUM treats warning WNUM as an error.
/woWNUM emits the warning for WNUM only once.

/wd : supress warnings

/wdnnnn supresses the compiler warning for the number nnnn.
In the following simple example, the parameter argc is not referenced which causes the compiler to complain with the warning C4100: 'argc': unreferenced formal parameter when compiling with cl /W4 unreferenced-formal-parameter.c.
#include <stdio.h>

int main(int argc, char* argv[]) {
   printf("Program name is %s\n", argv[0]);
}
Github repository about-cl, path: /options/w_/d/unreferenced-formal-parameter.c
The temptation is near to just remove argc so that the function signature looks like int main(int, char* argv[]), but this results in the error C2055: expected formal parameter list, not a type list.
The solution(?) is to suppress the warning (/wd4100) and compile the program like so:
cl /wd4100 .\unreferenced-formal-parameter.c
Compare with the /IGNORE option of the linker (link.exe).

See also

/W controls the level of warnings that are emitted by the compiler.
cl options

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1745943226, '3.141.46.208', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/development/Visual-Studio/cl/options/w_/index(69): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78