Skip to content

Commit

Permalink
plugin: linter: Remove the forced C++14 standard to keep GCCs default
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKar committed Dec 28, 2024
1 parent 94bec7d commit 33244e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/plugins/linter/linter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function preinit()
end

makeLinter("gcc", "c", "gcc", {"-fsyntax-only", "-Wall", "-Wextra", "%f"}, "%f:%l:%c:.+: %m")
makeLinter("g++", "c++", "g++", {"-fsyntax-only","-std=c++14", "-Wall", "-Wextra", "%f"}, "%f:%l:%c:.+: %m")
makeLinter("g++", "c++", "g++", {"-fsyntax-only","-Wall", "-Wextra", "%f"}, "%f:%l:%c:.+: %m")
makeLinter("dmd", "d", "dmd", {"-color=off", "-o-", "-w", "-wi", "-c", "%f"}, "%f%(%l%):.+: %m")
makeLinter("eslint", "javascript", "eslint", {"-f","compact","%f"}, "%f: line %l, col %c, %m")
makeLinter("gobuild", "go", "go", {"build", "-o", devnull, "%d"}, "%f:%l:%c:? %m")
Expand Down

0 comments on commit 33244e4

Please sign in to comment.