79142814

Date: 2024-10-30 21:19:43
Score: 6.5 🚩
Natty:
Report link

I have no rep so I can't upvote but I found the same solution for vscode as @ioaniatr in the https://code.visualstudio.com/docs/cpp/config-mingw?source=post_page-----a360be1487c...#_modifying-tasksjson

{
"tasks": [
  {
    "type": "cppbuild",
    "label": "C/C++: g++.exe build active file",
    "command": "C:\\msys64\\ucrt64\\bin\\g++.exe",
    "args": [
      "-fdiagnostics-color=always",
      "-g",
      "${fileDirname}/*.cpp",
      "-o",
      "${fileDirname}\\${fileBasenameNoExtension}.exe",
    ],
    "options": {
      "cwd": "${fileDirname}"
    },
    "problemMatcher": ["$gcc"],
    "group": {
      "kind": "build",
      "isDefault": true
    },
    "detail": "Task generated by Debugger."
  }
],
"version": "2.0.0"

}

I followed this guide for setting up a compiler: https://www.youtube.com/watch?v=DMWD7wfhgNY

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (2): can't upvote
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ioaniatr
  • Low reputation (1):
Posted by: znic1967