Turned on all the warnings I could handle and made them into errors then fixed them all. Worldbuilder needs a refactor in random_path.
This commit is contained in:
parent
f3f875ee80
commit
128fc4f540
19 changed files with 85 additions and 85 deletions
|
@ -66,8 +66,7 @@ TEST_CASE("test out ragel parser", "[gui]") {
|
|||
std::wstring colors_utf = $converter.from_bytes(colors);
|
||||
|
||||
bool good = ansi.parse(colors_utf,
|
||||
[&](sf::Color color, sf::Color bgcolor){
|
||||
// ignore color
|
||||
[&](sf::Color color[[maybe_unused]], sf::Color bgcolor[[maybe_unused]]){
|
||||
},
|
||||
[&](wchar_t ch) {
|
||||
bool correct_char = ch == '#' || ch == ' ' || ch == '\n' || ch == '\r';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue