pnoltes opened a new pull request, #848: URL: https://github.com/apache/celix/pull/848
This PR updates the CI/build configuration to use Ubuntu 26.04. Changes: - Switches CI workflows from ubuntu-22.04 to ubuntu-26.04 - DevContainer: Base image Ubuntu 24.04 → 26.04 - Conan profiles: Update CMake from 3.26.4 → 4.4.3 - Documentation: Note about jansson/2.14 and CMAKE_POLICY_VERSION_MINIMUM=3.5 for CMake 4 Code fixes, due to updated toolchains: - NULL checks for vfprintf format strings (log utils, test suites) (new warning from updated compilers) - const char* fixes for strrchr/strchr/strstr return types (new warning from updated compilers) - Remove unnecessary floor() + double conversion in hash map resize (new warning from update compilers) - CivetWeb: disable -Werror for third-party code (newer compilers) - lcov: add --ignore-errors inconsistent,mismatch,empty (not happy about this, but for now fixes lcov with a newer gcc) - Position-independent code for rsa_discovery_common (changed default behavior) Rationale: My development environment (and likely others) already uses CMake 4 and newer compilers, so maybe it time to also update the codebase for this. Note Ubuntu 26.04 on GitHub Actions is still in preview, we could also make this PR a draft and wait till Ubuntu 26.04 is fully supported. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
