Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22240

$gcc problemMatcher only ever shows the first error or warning

$
0
0

I have a Visual Studio Code C project based on CMake, compiled using gcc. I've created a custom task for building the project, and have specified $gcc for its problemMatcher property.

However, when I build and there are compile errors, it only ever lists the first error returned, rather than all of them. How do I fix this?

Here is my tasks.json:

{"version": "2.0.0","tasks": [        {"type": "cmake","label": "CMake: build application","command": "build","presentation": {"echo": false,"reveal": "always","focus": false,"close": false,"panel": "dedicated","revealProblems": "onProblem","showReuseMessage": false,"clear": true            },"targets": ["all"            ],"group": {"kind": "build","isDefault": true            },"detail": "CMake build task","problemMatcher": ["$gcc"]        }    ]}

Viewing all articles
Browse latest Browse all 22240

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>