FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-131296: fix clang-cl warnings in fileutils.c by chris-eibl · Pull Request #131301 · python/cpython · GitHub

/ cpython Public

GH-131296: fix clang-cl warnings in fileutils.c - #131301

Closed
chris-eibl wants to merge 1 commit into
python:mainfrom
chris-eibl:fix_clangcl_fileutils
Closed

GH-131296: fix clang-cl warnings in fileutils.c#131301
chris-eibl wants to merge 1 commit into
python:mainfrom
chris-eibl:fix_clangcl_fileutils

Conversation

chris-eibl commented Mar 15, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Comment thread Python/fileutils.c
return 0;
}
if (ch > MAX_UNICODE) {
if (sizeof(ch) > 2 && ch > MAX_UNICODE) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Fix warning : result of comparison of constant 1114111 with expression of type 'wchar_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]

Comment thread Python/fileutils.c

// mbstowcs() and mbrtowc() errors
static const size_t DECODE_ERROR = ((size_t)-1);
#ifdef HAVE_MBRTOWC

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

fix warning : unused variable 'INCOMPLETE_CHARACTER' [-Wunused-const-variable]

chris-eibl closed this Mar 20, 2025

Copy link
Copy Markdown
Member Author

Closed because done similarily in #131487.

chris-eibl deleted the fix_clangcl_fileutils branch March 20, 2025 15:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL