jazz2
jazz2 copied to clipboard
Build Error.
/home/masterz/testing/BUILD/jazz2-native/Sources/Main.cpp: In member function ‘virtual void GameEventHandler::OnPreInit(nCine::AppConfiguration&)’: /home/masterz/testing/BUILD/jazz2-native/Sources/Main.cpp:172:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (std::int32_t i = 0; i < config.argc() - 2; i++) { ~~^~~~~~~~~~~~~~~~~~~ /home/masterz/testing/BUILD/jazz2-native/Sources/Main.cpp: In function ‘int main(int, char**)’: /home/masterz/testing/BUILD/jazz2-native/Sources/Main.cpp:1732:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (std::size_t i = 1; i < argc; i++) { ~~^~~~~~ [ 32%] Building CXX object CMakeFiles/jazz2.dir/Sources/Jazz2/ContentResolver.cpp.o /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp: In member function ‘Jazz2::Metadata* Jazz2::ContentResolver::RequestMetadata(Death::Containers::StringView)’: /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp:463:35: warning: unused variable ‘key’ [-Wunused-variable] for (const auto& [key, resource] : it->second->Sounds) { ^ /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp: In member function ‘std::unique_ptrJazz2::Tiles::TileSet Jazz2::ContentResolver::RequestTileSet(Death::Containers::StringView, uint16_t, bool, const uint8_t*)’: /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp:1119:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (tx + TileSet::DefaultTileSize <= width && ty + TileSet::DefaultTileSize <= height) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp:1119:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (tx + TileSet::DefaultTileSize <= width && ty + TileSet::DefaultTileSize <= height) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp: In member function ‘std::optionalJazz2::Episode Jazz2::ContentResolver::GetEpisodeByPath(Death::Containers::StringView, bool)’: /home/masterz/testing/BUILD/jazz2-native/Sources/Jazz2/ContentResolver.cpp:1382:10: error: could not convert ‘episode’ from ‘Jazz2::Episode’ to ‘std::optionalJazz2::Episode’ return episode;