Skip to content

Conversation

@AstroAir
Copy link

  • Replace deprecated fs::u8path with fs::path in backend registry
  • Remove deprecated std::codecvt_utf8 includes and warning suppressions
  • Add explicit casts for enum bitwise operations to fix C++20 warnings

For changes to the core ggml library (including to the CMake build system), please open a PR in https://github.com/ggml-org/llama.cpp. Doing so will make your PR more visible, better tested and more likely to be reviewed.

- Replace deprecated fs::u8path with fs::path in backend registry
- Remove deprecated std::codecvt_utf8 includes and warning suppressions
- Add explicit casts for enum bitwise operations to fix C++20 warnings
- Increase tc and tc16 arrays from size 3 to 4 to handle RGBA images
- Add bounds check when writing to tc array to prevent overflow
- Extract value to temporary variable for clarity in tRNS parsing loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant