Search notes:

cl /T…

The /T… option of the Visual C compiler allows to specify the filetype/language (C and C++) of the source being compiled.
/Tc specifies a C file, /Tp a C++ file, /TC specifies that files by default are C files and /TP that files by default are C++ files.
This can be demonstrated with the following simple source file:
int main () {
    int new = 42;
    return new;
}
Github repository about-cl, path: /options/T/invalid-cpp-but-valid-c
Because it has a variable that is named new and new is a keyword in C++, the file is not valid C++.
The following invocation of the compiler specifies that the file is a C file and thus produces invalid-cpp-but-valid-c.exe:
cl /Tc invalid-cpp-but-valid-c
However, compiling it with
cl /Tp invalid-cpp-but-valid-c
results in
invalid-cpp-but-valid-c(2): error C2059: syntax error: 'new'
invalid-cpp-but-valid-c(3): error C2059: syntax error: ';'

See also

cl options
The gcc equivalent is gcc -x ….

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/...', 1759405948, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/development/Visual-Studio/cl/options/T/index(65): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78