I need to be able to compile Borland C++ programs in VSCode. At first, I received errors regarding the includes, but I was able to fix them. After that, I started receiving this error:
Error E2075: Incorrect command line option: -fdiagnostics-color=always.
Does anyone know what I can do to configure VSCode with Borland C++ and setup all the configuration files?
Here is my current tasks.json:
{
"tasks": [
{
"label": "Build bcc32",
"type": "shell",
"command": "bcc32 demo.cpp",
"args": [
"${workspaceFolder}/*.cpp",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
},
{
"label": "Run",
"type": "shell",
"command": "demo.exe"
}
],
"version": "2.0.0"
}