Skip to content

Commit

Permalink
Remove error messages that can't occur on v7
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jan 26, 2024
1 parent 87fe816 commit 2c18858
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/v7/compiletime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ options:
no-matching-function:
label: no matching function for call to ...
summary: Error says "no matching function for call to ..."
page: /v6/compiletime/no-matching-function/index.md
page: no-matching-function.md

passing-volatile-as-this-argument-discards-qualifiers:
label: passing `volatile ...` as `this` argument discards qualifiers [-fpermissive]
Expand Down
39 changes: 39 additions & 0 deletions src/pages/v7/compiletime/no-matching-function.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
options:
basicjsondocument:
label: no matching function for call to `BasicJsonDocument::BasicJsonDocument()`
summary: Error says "no matching function for call to `BasicJsonDocument::BasicJsonDocument()`"
page: /v6/compiletime/no-matching-function/basicjsondocument.md

converttojson:
label: no matching function for call to `convertToJson(...)`
summary: Error says "no matching function for call to `convertToJson(...)`"
page: /v6/compiletime/no-matching-function/converttojson.md

deserializejson:
label: no matching function for call to `deserializeJson(StaticJsonDocument<200> (&)(), ...)`
summary: Error says "no matching function for call to `deserializeJson(StaticJsonDocument<200> (&)(), ...)`"
page: /v6/compiletime/no-matching-function/deserializejson.md

unresolved-overloaded-function-type:
label: no matching function for call to `...(<unresolved overloaded function type>)`
summary: Error says "no matching function for call to `...(<unresolved overloaded function type>)`"
page: /v6/compiletime/no-matching-function/unresolved-overloaded-function-type.md

add-jsonarray:
label: no matching function for call to `...add<JsonArray>()`
summary: Error says "no matching function for call to `...add<JsonArray>()`"
page: /v6/compiletime/no-matching-function/add-jsonarray.md

add-jsonobject:
label: no matching function for call to `...add<JsonObject>()`
summary: Error says "no matching function for call to `...add<JsonObject>()`"
page: /v6/compiletime/no-matching-function/add-jsonobject.md

not-in-list:
label: None of the above
summary: The error is not in the list
page: /unknown-error.md
---

Which error is it?

0 comments on commit 2c18858

Please sign in to comment.